samifox Posted May 17, 2016 Posted May 17, 2016 hi, putting viewports in defpoint, when designing the paperspace i always set the color of the defpoint to the color of the background and make the viewport bounderies seen invisable. can it be done by a lisp? Quote
ReMark Posted May 17, 2016 Posted May 17, 2016 There is no good reason for putting paper space viewports on the Defpoints layer. Quote
BIGAL Posted May 17, 2016 Posted May 17, 2016 We just use a layer called vports but it is set to "no plot" unless we want boxes in which case will use a different layer. Again no reason to use defpoints. Quote
rkmcswain Posted May 17, 2016 Posted May 17, 2016 .....to the color of the background and make the viewport bounderies seen invisable. can it be done by a lisp? To answer that question, you can get the background color and modify layer colors via lisp, so yes. Quote
samifox Posted May 17, 2016 Author Posted May 17, 2016 I mean autolisp not vlisp Sent from my SM-N900 using Tapatalk Quote
tombu Posted May 17, 2016 Posted May 17, 2016 We just use a layer called vports but it is set to "no plot" unless we want boxes in which case will use a different layer. Again no reason to use defpoints. And turning "vports" layer off makes it both invisible and unselectable as well unlike changing the layer color. AutoCAD is designed to use Defpoints layer for Dimensioning. With an infinite number of layer names you can use please just leave that layer alone. Don't draw on layer 0 unless you're creating a block either. Quote
rkmcswain Posted May 17, 2016 Posted May 17, 2016 I mean autolisp not vlisp Well, I didn't mention vlisp (I said ...VIA lisp). But now that you mention is, it does take visual lisp functions, although I don't see what difference that makes unless your using a 20+ year old version of AutoCAD or your using an AutoCAD clone that does not support these functions. Now that I think of it, maybe AutoCAD for Mac doesn't either.... ?? Quote
tombu Posted May 18, 2016 Posted May 18, 2016 Sorry for ranting earlier, here's a few links about using the Defpoints layer for viewports: Issues With Using DEFPOINTS for Viewports https://autocadtips1.com/2014/09/05/issues-with-using-defpoints-for-viewports/ What is AutoCAD Defpoints Layer for? http://www.cad-notes.com/defpoints-layer/ Two Reasons NOT to Use the Defpoints Layer http://land8.com/profiles/blogs/autocad-tip-do-not-use-the-defpoints-layer Google search returns almost as many links for those who did it and cannot understand what's wrong with their drawings problem with defpoints layer http://www.cadtutor.net/forum/showthread.php?35996-problem-with-defpoints-layer Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.