Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: ThomasRambach

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

EESignature

(Not an Autodesk Employee)