My question has two parts to it.
First, I am trying to better understand the ssget selection set (and also dictionary definitions) and I would like to find a list of code numbers that can be used with these selection sets (or that are used in dictionary definitions). For example, I know in an ssget function you can add the filters ((8 . "TEXT")) is for a specific layer, ((0 . "TEXT")) is for specific object type, ((62 . X)) is for a specific color. Does anyone have an "official list" of other numbers and what they filter?
Second, is there a list of object types that can be selected with a ((0 . "TEXT")) code selection? I know you can type "line", "circle", etc. but what else can you select with this filter?
Thanks!
Solved! Go to Solution.
Solved by dbroad. Go to Solution.
1) SSGET uses dxf codes. Look at the dxf reference here or use help to access it.
2) Any graphical object can be selected by this method (line, arc, circle, polyline, lwpolyline, spline, table, dimensions, etc.)
Hi guys , somebody know how to write in lisp :select all text rotated at 90 degrees;
(ssget "X" '((0 . "TEXT,MTEXT")) .....?
The short answer is: (setq ss (ssget "x" '((0 . "*TEXT")(-4 . "=")(50 . 1.570796326794897))))
A process you could use to do this without help is shown here.
Can't find what you're looking for? Ask the community or share your knowledge.