howto
Automate Command Line
Import DXF profiles, export 3D formats, run Auto Export, or rename models from the Creo command line.
Use -CADACTIVE=AUTOMATE to import a DXF, export solid 3D files, run Auto Export, or rename models from the command line.
Shared flags (Creo startup, sign-in, models, Windchill) are on Creo Parametric Command Line.
noteAutoAssemble is not available on the command line. Use the CadActive ribbon in Creo.
AutoAssemble is not available on the command line. Use the CadActive ribbon in Creo.
Example
texttrueImport DXF
Imports a DXF into each named model, then saves. IMPORT_DXF and IMPORT_DXF_EXTRUDE currently run the same workflow: the DXF is imported and the profile is extruded.
Flag | Required? | What it does |
|---|---|---|
| Required | Import (and extrude) the DXF. |
| Required | Path to the DXF file. |
| Required (one) | Target models. |
| Optional | Coordinate system name to import against. |
| Optional | Rename map applied before import. |
| Optional | Set a model parameter before import. |
Export 3D
Writes a solid 3D file for each model. This does not run CadActive reports.
Action: EXPORT_3D.
Flag | Required? | What it does |
|---|---|---|
| Required |
|
| Required (one) | Models to export. |
| Optional | Coordinate system for the export. |
| Optional | Simplified representation to export. |
Auto Export
Runs the Auto Export pipeline already saved on the model (formats and reports from the Auto Export dialog, model parameters, or external data). It does not read -FORMAT= from the command line.
Action: AUTO_EXPORT.
Flag | Required? | What it does |
|---|---|---|
| Required (one) | Models that already have Auto Export settings saved. |
Rename models
Action: RENAME_MODELS.
Flag | Required? | What it does |
|---|---|---|
| Required | Old name and new name. |
| Required (one) | Models in session to rename. |