10-21-2022
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-21-2022
06:51 AM
Good point. That iLogic only shortcut snippet 'iProperties.Value()' is limited to only being able to access the iProperties of documents that are referenced by the 'active' document. So, in this case, I would suggest using the API route to access that document's iProperty.
Dim oFileDoc As Document = ThisApplication.Documents.Open(file, False)
Dim Codice As String
Codice = oFileDoc.PropertySets.Item("Inventor User Defined Properties").Item("PR_Codice").Value
Wesley Crihfield
(Not an Autodesk Employee)