3D PDF creation fails with "Typelib export: Type library is not registered" with Inventor 2025

Issue

When using Inventor 2025 the 3D PDF job runs into the error "Typelib export: Type library is not registered. (Exception from HRESULT: 0x80131165)"

Cause

This issue is related to the change to .NET 8 in Inventor 2025.

Solution

Open the file "3DPDF.psm1" located at "C:\ProgramData\coolOrange\powerJobs\Modules" with any editor. Search for the following line of code:

$3DPdfConverter.Publish($Document, $options)

Replace it with the following:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.VisualBasic")
[Microsoft.VisualBasic.CompilerServices.NewLateBinding]::LateCall($3DPdfConverter, $null, "Publish",@($Document, $options), $null, $null, $null, $false)