Issue
When using powerJobs Processor v25 or a newer version, Inventor is started with the User Interface disabled. When trying to use commands like "Save" the following error is thrown:
Error HRESULT E_FAIL has been returned from a call to a COM component.
Cause
powerJobs Processor v25 starts Inventor with "UserInteractionDisabled" set to true, which disables the user interface. This is done to improve stability.
Solution
Activating the User interface is rarely needed. It is only required when you need to use user interface commands like saving the file or checking out a file
In order to reactivate the user interface you can use the following code in your powerJobs Processor job after the Open-Document Cmdlet which gives you access to the Inventor API:$openResult.Application.Instance.UserInterfaceManager.UserInteractionDisabled = $false