Skip to content
English
  • There are no suggestions because the search field is empty.

Export fails using InventorServer

Issue

An inventor file is converted with powerJobs Processor using the InventorServer into one of the following formats: BMP, GIF, JPEG, PNG, TIFF and the job fails with following error:

Failed to export document ***** to *****.bmp! Reason: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Cause

The InventorServer application does not support converting files to following formats:

  • JPEG
  • BMP
  • GIF
  • TIFF
  • PNG.

Solution

For these conversion you need to use Inventor instead of InventorServer. To change this follow this steps:

  1. On the machine on which powerJobs Processor is installed navigate to "C:\ProgramData\coolOrange\powerJobs\Jobs"
  2. Open your job's script file
  3. Search for the Open-Document cmdlet:
    1. Open-Document -LocalFile $file.LocalPath ...
  4. Change it to use Inventor as application:
    1. Open-Document -LocalFile $file.LocalPath -Application "Inventor"

See Also