iLogic rules do not work in powerJobs Processor with Inventor 2025

Issue

Running iLogic rules in a custom powerJobs Processor job using for example "RunRule" or "RunExternalRule" does not work with Inventor 2025. The command fails with the following message:

Solution

Translate the iLogic script to PowerShell and run it directly in your job script. You can access the Inventor API using the return value of the Open-Document Cmdlet:

$openResult = Open-Document -LocalFile "C:\Temp\Drawing1.idw"
# The Inventor document
$document = $openResult.Document.Instance
# The application
$application = $openResult.Application.Instance

See Also

Open-Document documentation