Message 1 of 11
Structure Connected Pipes Invert Level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am trying to extract the connected pipe(s) invert level using VB script. I am new to Civil3D .net api. I would like to be able iterate it for multiple connected pipes. The script I wrote looks like this.
RESULT="--"
On Error Resume Next
Set oApp=GetObject(, "AutoCAD.Application")
Set oCivilApp=oApp.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication.13.2")
Set obj=oCivilApp.ActiveDocument.HandleToObject("[Handle]")
RESULT= obj.ConnectedPipe.InvertLevel
Grateful if somebody could provide some help.