howto
Standardize Command Line
Create, copy, or delete layers; apply a CadActive model template; or import and export Designator designation maps from the Creo command line.
Use -CADACTIVE=STANDARDIZE to manage layers, apply a CadActive model template, or export and import Designator designation maps from the command line. Successful template applies and designation-map imports save the model.
Shared flags (Creo startup, sign-in, models, -OUTPUT=, Windchill) are on Creo Parametric Command Line.
Example
texttrueLayers
These operate on the model directly. They do not use a model template.
Action | What it does | Required flags |
|---|---|---|
| Creates the named layer on each model. |
|
| Copies layers from a source model onto the target models. |
|
| Deletes the named layers from each model. |
|
All layer actions also need a model via -MODEL, -MODEL_FILE, or -MODEL_DIR.
Apply a model template
These call the same engine as Apply selected / Apply all template details in Creo. Pass -MODEL_TEMPLATE= with the CadActive template name (case-insensitive).
Action: APPLY_MODEL_TEMPLATE applies every table unless you restrict it. Or use a *_CREATE action to apply one table.
Flag | Required? | What it does |
|---|---|---|
| Required for template actions | CadActive template name. |
| Required (one) | Models to apply to. |
| Optional | Comma list of tables for |
Name filters | Optional |
|
Per-table actions (each still needs -MODEL_TEMPLATE= and a model):
ORIENTATIONS_CREATEPARAMETERS_CREATESIMPLIFIED_REPS_CREATE(aliasSIMPREPS_CREATE)SECTIONS_CREATECOMBINED_STATES_CREATELAYER_STATES_CREATEEXPLODE_STATES_CREATEAPPEARANCE_STATES_CREATESTYLE_STATES_CREATENOTES_CREATEFEATURES_CREATE— fails if required references are missing, same as the ribbon.RELATIONS_CREATE— adds template relations; it does not replace existing relations.
Applying template layers uses APPLY_MODEL_TEMPLATE -INCLUDE=LAYERS (or -LAYER= as a name filter). That is different from LAYERS_CREATE, which creates empty named layers with no template.
Export a designation map
Exports designated components from each assembly to an Excel designation map (the same spreadsheet Designator can save). Non-assembly models are skipped.
Action: EXPORT_DESIGNATION_MAP.
Flag | Required? | What it does |
|---|---|---|
| Required (one) | Assemblies to export. See Creo Parametric Command Line. |
| Optional | Folder for the |
Import a designation map
Reads a designation map (.xlsx or .csv) and applies it to each assembly, then saves the model. Same behavior as importing from Designator, including the optional Windchill attach setting.
Action: IMPORT_DESIGNATION_MAP.
Flag | Required? | What it does |
|---|---|---|
| Required (one) | Assemblies to apply the map to. |
| Required | Path to the designation map. Relative paths are resolved from the current working directory. |
What is not on the command line
Copy and delete exist for layers only. Other template tables do not have COPY or DELETE actions.
Parameter import or export from a file is not available.
Combined states, features, and sections can fail if the model is missing referenced objects — same as the ribbon.