Code Red > AutoLISP (Vanilla / Visual)

Access AEC Roof object properties?

(1/2) > >>

kenkrupa:
I'm not finding any way to do this programmatically. Anyone?

BIGAL:
If its anything like civ3d AEC objects its not straight forward.

Your 1st insight is using dumpit.lsp to interrogate object properties. In some cases its not a direct line of getting info, its often the object name but the details are in a totally different area.

Try to find some API info like tree diagrams that give ideas into where object data is held.

kenkrupa:
Dumping the object properties does not reveal much. Can't find any other info - that's why inquiring here.

BIGAL:
Post the dump.

If you look at this (vlax-for j (vlax-get *AeccDoc* 'AlignmentsSiteless) its retrieving alignment details from the database *AeccDoc* variable which is different for every CIV3D "AeccXUiLand.AeccApplication.13.2" is 2020.

So there will be the equivalent Architectural application name and version, without that you will be limited. Google maybe Get Application.

See what this reveals


--- Code: ---(setq f t)
(while (setq a (tblnext "appid" f))
(if f (setq f nil)) ;set to get next table entry
(princ (cdr (assoc 2 a)))
(princ "\n")
)

--- End code ---

kenkrupa:
Thanks, but I don't see that getting anything useful. This is what I get with that code:
ACAD
AcadAnnotative
ACAD_NAV_VCDISPLAY
ACAD_EXEMPT_FROM_CAD_STANDARDS
AECBASE
ACAD_PSEXT
AEC_OBJVER_INFO
AcadAnnoAV
ACAD_DSTYLE_DIMJAG
ACAD_DSTYLE_DIMTALN
AcAecLayerStandard
AEC_MEMBER_STYLE_AUTOTRIM_XDATA
PalladioXData
ManulPointsAssociative
AEC_SCHEDULEDATA_FORMULA_SAMPLES
AcDbBlockRepETag
AECB_HALOED_LINE_OUTLINE_EDGE_LIMIT
AECB_OSNAP_MEP

Am I missing a next step - what to do with any of that?

Navigation

[0] Message Index

[#] Next page

Go to full version