SSGET Filter Code List

SSGET Filter Code List

jamesloy22
Contributor Contributor
2,365 Views
5 Replies
Message 1 of 6

SSGET Filter Code List

jamesloy22
Contributor
Contributor

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!

0 Likes
Accepted solutions (1)
2,366 Views
5 Replies
Replies (5)
Message 2 of 6

dbroad
Mentor
Mentor
Accepted 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.)

Architect, Registered NC, VA, SC, & GA.
Message 3 of 6

jamesloy22
Contributor
Contributor

Perfect, thank you.

0 Likes
Message 4 of 6

sergiu_ciuhnenco
Advocate
Advocate

Hi guys , somebody know how to write in lisp :select all text rotated at 90 degrees;

(ssget "X" '((0 . "TEXT,MTEXT")) .....?

0 Likes
Message 5 of 6

dbroad
Mentor
Mentor

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.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 6 of 6

sergiu_ciuhnenco
Advocate
Advocate

Phanks you , sir !!!

0 Likes