Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, hope you're doing well
I'm having some issues with iLogic scripts, specifically with accessing MaterialManager. The block in my script which calls them out is:
' Attempt to access MaterialManager Try oMaterialManager = oApp.MaterialManager If oMaterialManager Is Nothing Then MsgBox("Test Result: MaterialManager is Nothing after trying to access it.", MsgBoxStyle.Critical, "Debug: MaterialManager Test") Exit Sub End If Catch ex As Exception MsgBox("Test Result: CRITICAL ERROR accessing MaterialManager from Application: " & ex.Message, MsgBoxStyle.Critical, "Debug: MaterialManager Test") Exit Sub End Try
When I run the script, I get the following error:
I imported Inventor at the beginning of the script too
I can share the entire script but what would be the cause for such a fundamental issue?
Build: 162, Release: 2025.0.1 - Date: Mon 05/13/2024
Thanks,
Hisham
Solved! Go to Solution.