Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Contributor
faugustom
Posts: 15
Registered: ‎12-07-2009
Message 1 of 2 (179 Views)

Object Selection based on type/layer

179 Views, 1 Replies
05-04-2010 04:53 PM
Hi LISP guys!

I need your help for creating a code to select some objects based on it's type and layer, just like the QuickSelect command... there are two cases:

1. I want to select all the objects in the layer "X" an then apply a command;
2. I want to select all the lines (for example) in the layer "Y" an then apply a command;

and I need these action to be cumulative... execute action various times (each one with different parameters...)

Can someone help me with a code?

Thanks'

Fernando
Distinguished Contributor
rogerio_brazil
Posts: 927
Registered: ‎08-20-2004
Message 2 of 2 (179 Views)

Re: Object Selection based on type/layer

05-04-2010 06:09 PM in reply to: faugustom
You can try to use Entlasel routine. After, use the previous selection to apply a command.

:smileyhappy:

Rogerio
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.