I am having trouble getting the first line to select text with a rotation angle of 0. It is selecting all of the text with a rotation angle other than 0. The second line of code does select all of the text with a 90° rotation angle. Will anyone tell me what I am doing wrong in the first line?
(setq sset2 (ssget "X"'((0 . "text")(-4 . "=")(50 . 0.0))))
(setq sset (ssget "X"'((0 . "text")(8 . "ENG_STUD_SIZE_13")(-4 . ">")(50 . 0.0))))
Thank you,
Lynda Begnaud
@lbegnaud wrote:I am having trouble getting the first line to select text with a rotation angle of 0. It is selecting all of the text with a rotation angle other than 0. ....
(setq sset2 (ssget "X"'((0 . "text")(-4 . "=")(50 . 0.0))))
....
Quickly [on my way out the door].... You don't need the -4 entry in the filter list for equality. You can just do:
(setq sset2 (ssget "X" '((0 . "text") (50 . 0.0))))
And I'm not sure whether the 0-code part is case-sensitive [as the text-content part would be]; what the entity data contains will be "TEXT" in all capitals, so that's the way I've always done it, but maybe it's not necessary.