Possible to select all elements of a layer?

Aug 03, 2007 2 Replies

Hi,



I need to select all elements of one layer and i don't know how to do that...Let's say i have bunch of text (label) on one layer(text_layer). Now i need to select all the elements of one layer (text_layer). Is there any tool to do that or is there any way to select all elements of one layer.



Your help will highly be appreciated.



Thanks musa.biralo



2 choices: 1) isolate the layer 2) Quick select layer=text_layer

musa.biralo wrote:

try this (you can't select blocks though, since it's actually on the zero layer): ;begin (defun C:SE ( / e lay ss) (setq e (nentsel "Select entity on a layer: ")) (if e (setq ss (ssget "_X" (list(cons 8 (cdr (assoc 8 (entget (car e))))))))) (if (zerop (getvar"CMDACTIVE")) (progn (sssetfirst ss ss) (princ"Everything has been selected, now get back to work!! ")) ) ss ) ;end

cheers

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required