ColinHolloway Posted February 1, 2016 Posted February 1, 2016 Hi All, Has anyone done any development work with obtaining Advance Steel entity properties when the entities are opened in AutoCAD or Plant 3D? In the past I have written code that extracted the end points, section, width and height from members that were drawn with ProStructures, but now that my office is changing to Advance Steel, I need to be able to extract the same information from these members. I can see information for these members in the Properties palette but I am yet to find how to extract this info. Any and all help greatly appreciated. Thanks, Colin Holloway Sedgman Limited. Quote
BIGAL Posted February 2, 2016 Posted February 2, 2016 What does dumpit.lsp give ? ;;; Dump all methods and properties for selected objects ; ;;;===================================================================; ;;; DumpIt ; ;;;-------------------------------------------------------------------; ;;;===================================================================; (defun C:DumpIt ( / ent) (while (setq ent (entsel)) (vlax-Dump-Object (vlax-Ename->Vla-Object (car ent)) T ) ) (textpage) (princ) ) Quote
ColinHolloway Posted February 2, 2016 Author Posted February 2, 2016 Results of dumpit.lsp: Command: DUMPIT Select object: ; IAcadEntity: AutoCAD Entity Interface ; Property values: ; Application (RO) = #<VLA-OBJECT IAcadApplication 000000013fb23f10> ; Document (RO) = #<VLA-OBJECT IAcadDocument 000000000c95bf58> ; EntityTransparency = "ByLayer" ; Handle (RO) = "DCB" ; HasExtensionDictionary (RO) = 0 ; Hyperlinks (RO) = #<VLA-OBJECT IAcadHyperlinks 0000000055091028> ; Layer = "Beams" ; Linetype = "ByLayer" ; LinetypeScale = 20.0 ; Lineweight = -1 ; Material = "ByLayer" ; ObjectID (RO) = 42 ; ObjectName (RO) = "AstBeamRepr" ; OwnerID (RO) = 43 ; PlotStyleName = "ByLayer" ; TrueColor = #<VLA-OBJECT IAcadAcCmColor 0000000055091080> ; Visible = -1 ; Methods supported: ; ArrayPolar (3) ; ArrayRectangular (6) ; Copy () ; Delete () ; GetBoundingBox (2) ; GetExtensionDictionary () ; GetXData (3) ; Highlight (1) ; IntersectWith (2) ; Mirror (2) ; Mirror3D Select object: (3) ; Move (2) ; Rotate (2) ; Rotate3D (3) ; ScaleEntity (2) ; SetXData (2) ; TransformBy (1) ; Update () Quote
BIGAL Posted February 3, 2016 Posted February 3, 2016 Did you compare the dump of the two different objects ? may give some clues. Quote
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.