• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Contributor
    Posts: 15
    Registered: ‎12-07-2009

    Object Selection based on type/layer

    159 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
    Please use plain text.
    Distinguished Contributor
    Posts: 927
    Registered: ‎08-20-2004

    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
    Please use plain text.