I am trying to tidy up CAD files received from an outside source.
The text heights fro whatever reason are in various sizes. These sizes range considerably. However many of these sizes are similar but not the same. For instance I have text heights that are 249.88, 249.995, 250, 250.00035. (Don’t ask!)
Now its pretty obvious that all of these heights should be 250mm in height. I want to do a selection set to pick text that is between the heights 249 and 251. (I can apply this for the other ranges, just tweaking accordingly)
(setq txt1 (ssget "x" ' ((-4 . "<and")(0 . "text") (40 . 249.999975) (-4 . "and>") )))
Is there a way I can modify above to select greater than 249 but less than 251?
Any help would be greatly appreciated
Regards
Diarmuid