ziele_o2k Posted November 15, 2016 Share Posted November 15, 2016 As in thread title, what objects can be selected with ssget? Here is site, which I'm using to know something more about entities, but I don't know what kind of entities I can select with ssget... Quote Link to comment Share on other sites More sharing options...
mostafa badran Posted November 15, 2016 Share Posted November 15, 2016 This maybe help to study ssget and this for processing. Quote Link to comment Share on other sites More sharing options...
Grrr Posted November 15, 2016 Share Posted November 15, 2016 I think that ssget applies to all graphical entities, listed under chapter 6: ENTITIES Section or these that you can "see" in model/paperspace, ofcourse there may be other types of entities than these of the standard AutoCAD, such as AutoCAD Architecture's: (0 . AEC_WALL) (0 . AEC_DOOR) Or Civil 3D. Quote Link to comment Share on other sites More sharing options...
ziele_o2k Posted November 15, 2016 Author Share Posted November 15, 2016 I think that ssget applies to all graphical entities, listed under chapter 6: ENTITIES Section or these that you can "see" in model/paperspace, ofcourse there may be other types of entities than these of the standard AutoCAD, such as AutoCAD Architecture's: (0 . AEC_WALL) (0 . AEC_DOOR) Or Civil 3D. Thank you. Quote Link to comment Share on other sites More sharing options...
Grrr Posted November 15, 2016 Share Posted November 15, 2016 You could check all the used types in a drawing with: (setq TypesLst (list)) (if (setq SSX (ssget "_X")) (repeat (setq i (sslength SSX)) (and (setq typ (cdr (assoc 0 (entget (ssname SSX (setq i (1- i))))))) (not (member typ TypesLst)) (setq TypesLst (cons typ TypesLst)) ) ) ) (foreach x (acad_strlsort TypesLst) (print x)) After testing on a drawing made with ACAD Architecture I got: "3DSOLID" "ACAD_TABLE" "AEC_2D_SECTION" "AEC_BDG_SECTIONLINE" "AEC_DOOR" "AEC_MASS_ELEM" "AEC_MVBLOCK_REF" "AEC_RAILING" "AEC_ROOF" "AEC_ROOFSLAB" "AEC_SLAB" "AEC_SPACE" "AEC_STAIR" "AEC_WALL" "AEC_WINDOW" "AEC_WINDOW_ASSEMBLY" "AECS_MEMBER" "ARC" "CIRCLE" "DIMENSION" "HATCH" "INSERT" "LINE" "LWPOLYLINE" "MTEXT" "SPLINE" "TEXT" But I also don't know what are ALL the standard used types so I rely on AutoCAD's object model. Note that type (assoc 0 ..) is some kind of property that is part of the dxf list, which represents the whole entity/ename, just like (assoc 10, 40, 50 ..). This is just my vision about this, dunno if I wrote some B.S. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.