Message 1 of 5
Property set formulas
Not applicable
08-20-2018
02:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am having problems with my property set definitions.
As an example i would like to make the object name visible when i do an export to 3D solids.
I am able to do this in Civil 2018, but I have to use Civil 2015 for this project.
This code works for Civil 2018:
Code start..
RESULT = "--"
On Error Resume Next
Set oApp = GetObject(, "AutoCAD.Application")
Set oCivilApp=oApp.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication.12.0")
Set obj = oCivilApp.ActiveDocument.HandleToObject("[Handle]")
RESULT = obj.Name
Code end..
I have figured out that AeccPipeApplication.12.0 is for Civil 2018, but what code is to be used for Civil 2015?
Any help on this issue will be appreciated