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

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

EESignature

(Not an Autodesk Employee)