Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Contributor
15 Posts
0 Kudos
Registered: ‎12-07-2009
Post 1 of 2

Object Selection based on type/layer

180 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
927 Posts
0 Kudos
Registered: ‎08-20-2004
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!