Jump to content

Lee Mac's Layer Director tweak


Dadgad

Recommended Posts

I love this lisp of Lee's. Can't recommend it highly enough. :D

I have set it to create a new layer when using the INSERT

command, the name of which, I would like to be, the name of the XREF being inserted.

All layer properties to match layer 0, as shown in the image.

No problem getting it to create the new layer named Xref,

but how to extract the name from the object being inserted and add it to the layer name?

Is that possible? :?

xref layer creation.JPG

Edited by Dadgad
Link to comment
Share on other sites

The modification that you describe is certainly possible to implement, however, since the existing program creates and sets the current layer when a command is called by the user, the program could not access the XRef name until the command has completed; hence a separate condition would be required for the XATTACH command, instructing the program to create and assign the layer following completion of the command.

 

If you were prepared to cover my time on the modification, please contact me through my site and I would be happy to put together a custom version of the program for you.

 

Lee

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