Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Property set formulas not working Civil 3D 2023

1 REPLY 1
SOLVED
Reply
Message 1 of 2
hannes.dekyvere8NVBJ
129 Views, 1 Reply

Property set formulas not working Civil 3D 2023

Hello,

 

Does anybody know why this formula is not giving results in Civil 3D 2023?

 

hannesdekyvere8NVBJ_0-1719227516464.png

 

1 REPLY 1
Message 2 of 2

This is what I am using, and it works. Using Civil 3D 2024. 

RESULT="--"
On Error Resume Next
Set oApp=GetObject(, "AutoCAD.Application")
Set oCivilApp=oApp.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication.13.6")
Set obj=oCivilApp.ActiveDocument.HandleToObject("[Handle]")
RESULT=obj.StartStructure.Name

This only difference should be the version. (2023 uses 13.5) (2024 uses 13.6)

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report