howto
Configure AutoExport on a Windchill Worker
Run saved Auto Export formats and reports on a Windchill / Creo View Adapter worker after the model is loaded.
This page is batch Auto Export on a Windchill / Creo View Adapter worker. It is not the interactive Creo Auto Export dialog. After the worker loads the model, CadActive runs the formats and reports already saved on that model.
noteThe worker does not open Auto Export and does not read -FORMAT=. Save choices in Creo first: Export Outputs from the Current Model. Command-line -ACTION=AUTO_EXPORT is a different entry point: Automate Command Line.
The worker does not open Auto Export and does not read -FORMAT=. Save choices in Creo first: Export Outputs from the Current Model. Command-line -ACTION=AUTO_EXPORT is a different entry point: Automate Command Line.
Before you start
An Automate license is available on the worker session.
The CadActive Creo plugin is installed and loaded on the worker. See Install the CadActive Creo plugin.
Each model already has Auto Export choices saved: use Save in the dialog, or set
CADACTIVE_EXPORT_FORMATS(comma-separated values such asSTP,PDF). If that parameter is missing, Auto Export also looks for per-format yes/no parameters namedCADACTIVE_EXPORT_<format>(for exampleCADACTIVE_EXPORT_STP).
Notify Auto Export from the adapter
In the Creo View Adapter recipe (recipe.txt / proe2pv.rcp), turn on toolkit notify and name the CadActive export function:
Load CadActive as the adapter’s external toolkit. The plugin name must match the CadActive registry (CadActive Creo). Point the DLL and text directory at the installed plugin, for example:
The adapter then passes the model name and type into RunTaskAutoExport. CadActive retrieves that model from the worker session and runs Auto Export.
Worker vs dialog vs command line
How you run it | What it uses | What it writes |
|---|---|---|
Creo Auto Export dialog | Checks in the dialog. Save stores them on the model; Run Exports generates now. | 3D files next to the model when that folder is valid; otherwise the Creo working directory. Reports follow Settings for Reporting. |
Windchill / Creo View Adapter ( | Saved choices on the model. Does not read | 3D files in the Creo working directory on the worker. Reports follow Reporting settings. |
| Saved choices on each | Same Auto Export pipeline as the worker, from the Creo command line. |
| A different Automate action. Requires | One 3D file per model. Does not run CadActive reports. |
Where files go
On the worker, 3D exports go to the Creo working directory for that session. Report files use the Reporting export directory. Overview: Auto Export.