Message 1 of 7
Not applicable
06-23-2020
11:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I was trying to automatically populate some civil 3d pipe properties like the pipe dia and pipe material to the extended properties, I got the VB script from one video in youtube and also from one AU class, But even after replicating the same script, my properties are not getting updated. Below is the script which I used.
RESULT="--"
On ERROR RESUME NEXT
Set oApp=GetObject(,"AutoCAD.Application")
Set oCivilApp=oApp.GetInterfaceObject("AeccXUiLand.AeccApplication.14.0")
Set obj=oCivilApp.ActiveDocument.ObjectIDtoObject("[ObjectID]"]
RESULT=obj.PartDataRecord.FindByContext(401).Tag
Can anyone help to fix this issue.
Thanks,
Solved! Go to Solution.