When exporting AutoCAD XREFs references are missing

When exporting released AutoCAD XREFs with the powerJobs Processor sample jobs the references are missing in the exported file

Issue

When exporting a released AutoCAD XREF with one of the powerJobs Processor sample jobs only the parent file is exported and all of the references are missing in the exported file.

Cause

This happens because the fastopen switch is set to $true for released files. This causes the Save-VaultFile cmdlet to not download any references.

Solution

In your script search for the $fastOpen variable that should look something like this:

$fastOpen = $openReleasedDrawingsFast -and $file._ReleasedRevision

and update it so it is set to $false when the job is run for an AutoCAD file like this:

$fastOpen = $openReleasedDrawingsFast -and $file._ReleasedRevision -and $file._Provider -ne 'AutoCAD'