Jump to content

Recommended Posts

Posted

VPOutlineV1-0.lsp

 

hello all:

This is a wonderful routine from master LEE MAC

Create viewport outlines in model space

It also creates a layer with a given name if it does not exist.

I would like to know if it is possible that when creating this layer it is modified so that it is not printable..

and be it so

image.png.de61ed99e6eefeef6504857283f871f2.png

 

thanks

 

All comments are welcome

 

Posted
(defun settononplot (lay / eng)
(setq eng (entget (tblobjname "layer" lay)))
(entmod (subst (cons 290 0)(assoc 290 eng) eng))
)

include this subfunction and call it at the end. (settononplot "YourLayer")

  • Like 1
Posted

thanks excellent

Posted

Another using VL

 

(vlax-put (vlax-ename->vla-object (tblobjname "layer" lay)) 'Plottable 0)

 

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