Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
A customer is using Autodesk Inventor with license on machines running the Job Processor.
They have an external iLogic rule triggered on document open (all extensions) which is located on C disk :
C:\CAD\CONFIG\INVENTOR_2024\iLogic\Import_Inventor_Configuration.iLogicVb
They sometimes get an error appearing on screen:
Error on line 3 of the rule: Import_Inventor_Configuration, in the document: example.iam
Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
''**iLogic system code start**
Imports Inventor
''**iLogic system code end**
Public Partial Class ThisRule ''**iLogic system**
Public Sub Main() Implements IRuleInterface.Main ''**iLogic system**
If ThisApplication.GeneralOptions.UndoFileSize = 1024 Or ThisApplication.DisplayOptions.UseDocumentDisplaySettings = True Then
ThisApplication.GeneralOptions.UndoFileSize = 8191
ThisApplication.ImportApplicationOptions("C:\Workspace_2024\Configurations\Inventor.xml")
End If
If ThisApplication.DesignProjectManager.ActiveDesignProject.Name.ToUpper <> "GROUPE" Then
ThisApplication.Documents.CloseAll()
ThisApplication.DesignProjectManager.DesignProjects.AddExisting("C:\Workspace_2024\Groupe.ipj").Activate
End If
End Sub ''**iLogic system**
End Class ''**iLogic system**The issue is intermittent.
The customer wants to keep this rule to be sure that each Job Pro is well configured on any time (but I personally find this rule unnecessary because Inventor shouldn't lose its options when working with Job Pro ?).
Are iLogic rules on document events fully supported in Job Processor?
Any idea on why we have some errors ?
Any idea on why we have some errors ?
Thanks a lot
Solved! Go to Solution.
