
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was trying to make a simple Lisp routine and I've run into a small issue that I can't seem to get to work properly. I want the user to select some dimensions in my routine but can't seem to filter out Arc Length dimensions in ssget. For example:
Will still allow me to select arc dimensions but no other kind of dimension:
(SSGET '((0 . "~ARC_DIMENSION")))
Will still allow me to select arc dimensions but no other kind of dimension:
(SSGET '((0 . "ARC_DIMENSION")))
Will still allow me to select arc dimensions but no other kind of dimension:
(SSGET '((0 . "~DIMENSION")))
Will allow me to select any type of dimension including arc dimensions:
(SSGET '((0 . "DIMENSION")))
I can see in the DXF that the Arc Length Dimension is clearly "ARC_DIMENSION" but it seems as though ssget is recognizing it as though the dxf code could be "DIMENSION" OR "ARC_DIMENSION". I'm just curious if anyone else has dealt with this before or can reproduce this as I'm going crazy with this one.
Since this is my first post I'll add I'm not a total rookie in the Autolisp stuff. I dabble with it quite a bit on smaller things but definitely still have a lot to learn and have been mostly self-taught during downtime at the office so I'm rough around the edges to say the least
ARC DIMENSION DXF FROM (entget (car(entsel))):
((-1 . <Entity name: 7ffffb10ac0>) (0 . "ARC_DIMENSION") (5 . "29C") (102 . "{ACAD_XDICTIONARY") (360 . <Entity name: 7ffffb10bc0>) (102 . "}") (102 . "{ACAD_REACTORS") (330 . <Entity name: 7ffffb10c90>) (102 . "}") (330 . <Entity name: 7ffffb03a80>) (100 . "AcDbEntity") (67 . 1) (410 . "Layout1") (8 . "0") (100 . "AcDbDimension") (280 . 0) (2 . "*D7") (10 0.452139 3.19927 0.0) (11 0.599941 3.75088 0.0) (12 0.0 0.0 0.0) (70 . 37) (1 . "") (71 . 5) (72 . 1) (41 . 1.0) (42 . 1.22805) (73 . 0) (74 . 0) (75 . 0) (52 . 0.0) (53 . 0.0) (54 . 0.0) (51 . 0.0) (210 0.0 0.0 1.0) (3 . "Standard") (100 . "AcDbArcDimension") (13 -0.50327 4.14178 0.0) (14 -0.50327 3.35998 0.0) (15 -0.50327 3.75088 0.0) (70 . 0) (40 . 1.5708) (41 . 4.71239) (71 . 0) (16 -0.50327 4.14178 0.0) (17 -0.50327 3.35998 0.0) (18 0.0 0.0 0.0) (42 . 0.0) (50 . 0.0))
Running Autocad 2015 SP2 x64 w/ PW integration & Bentley Autoplant/Prosteel Installed(not running) if it makes a difference.
Solved! Go to Solution.