02-01-2024
10:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-01-2024
10:39 AM
Ah, sorry about that, you are correct. I misread the code.
I generally avoid iLogic, and go straight to the Inventor API. My guess is the iLogic: "iProperties" is grabbing info for the active document.
I see you might have been trying 'Document.iProperties" in the commented code, which would have errored because that doesn't exist. Instead, try the Inventor API: "Document.PropertySets"
https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=Document_FilePropertySets
Example here:
https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=iPropertyGetValue_Sample