Ashit
(setq layers (vla-get-layers (vla-get-activedocument
(vlax-get-acad-object))))
will return a collection of all the layers in the current drawing.
Can you eloborate on what exactly
> modify objects in some of the layers from this list.
means?
Steve
"Ashit Goyal"
wrote in message
news:232818F3236784B9CE8321B8D8AA1B36@in.WebX.maYIadrTaRb...
> I want to create an autolisp routine to list all layers in a drawing and
> modify objects in some of the layers from this list. How can I do this.
>
> Ashit
>
>