10-23-2023
05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-23-2023
05:58 AM
Just checking, but have you already tried the same technique from an iLogic rule? Sometimes the 'ThisDoc.Document' reference will point to a different Document than the 'ThisApplication.ActiveDocument' reference will, and sometimes that makes all the difference.
Dim oProp As Inventor.Property = ThisDoc.Document.PropertySets.Item("32853F0F-3444-11d1-9E93-0060B03C1CA6").ItemByPropId(56)
oProp.Value = ""
Afterwards, another thing that you can check for, and maybe even remove, is the DocumentInterest (within Document.DocumentInterests) for the tube & pipe add-in. You would just need the ClientID property value from the "Routed Systems: Tube & Pipe" add-in first, to use when checking for it. That indicates whether that add-in had any part in the creation of the model, and may specify that something about the model is unique to that add-in.
Wesley Crihfield
(Not an Autodesk Employee)