- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Perhaps due to a legacy from an earlier version (we have been using Vault since 2008) we have a large dataset where the Assemblies contain the Material property "S235JR".
This is annoyingly visible in the Vault in the overviews with Material as a column.
By simply running the iLogic code below, you can see that the property is actually in the Inventor file.
Dim oDoc As Inventor.AssemblyDocument
oDoc = ThisApplication.ActiveDocument
MatVar = oDoc.PropertySets.Item("Design Tracking Properties").Item("Material").Value
MatWeldVar = oDoc.PropertySets.Item("Design Tracking Properties").Item("Weld Material").Value
MessageBox.Show(MatVar & " - " & MatWeldVar, "Title")
However, with the function:
oDoc.PropertySets.Item("Design Tracking Properties").Item("Material").Value = ""
or
oDoc.PropertySets.Item("Design Tracking Properties").Item("Material").Delete
I am not able to empty or delete the Property.
For new files I can just start with a fresh template file not containing this Property, but how to clean the existing files?
I haven't tried it yet, but maybe a limitation within iLogic, which can be avoided by writing a small add-in?
[currently using Autodesk Inventor Professional 2023.2]
René van der Starre
Solved! Go to Solution.