@Anonymous wrote:
1. How to select only arc(radial) dimensions (using ssget)
2. How to select only diameter dimensions (using ssget)
Various circumstances can result in the 32 "bit" and/or the 128 "bit" in the (assoc 70) entry in entity data being absent from the value, so values of 163 or 164 are not reliable tests. These will get them whether or not either of those components is included:
For Radius Dimensions:
(sssetfirst nil (ssget "_X" '((0 . "DIMENSION") (-4 . "&") (70 . 4))))
For Diameter Dimensions:
(sssetfirst nil (ssget "_X" '((0 . "DIMENSION") (-4 . "&") (70 . 3))))
Leave out the "_X" parts if you want User selection, with the routine "seeing" only those kinds of objects, rather than finding all of them in the drawing.
Kent Cooper, AIA