Jump to content

set layer color as the layout background color


samifox

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

.....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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.... ??

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...