Message 1 of 4

Not applicable
12-11-2019
03:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can someone please help me understand this?
I am trying to select all text+mtext with text height no more than 250, then change it's style.
The part I seem to be tripping up on (at the moment at least) is the text height - "(40 . 250.0)".
I'm getting "Error: bad argument type: consp 250.0".
(setq ss3 (ssget "X" (list (cons 0 "TEXT,MTEXT")(40 . 250.0)(-4 "NOT>")(cons 410 (getvar "ctab"))))) (if ss3 (progn (setq C 0) (repeat (sslength ss3) (setq entx (ssname ss3 C)) (setq ent (entget entx)) (setq ent (subst (cons 7 "RMS - 1.8mm")(assoc 7 ent) ent)) (entmod ent) (setq C (+ C 1)) ); repeat ); progn ); if
Thanks
Solved! Go to Solution.