Skip to content
CadActiveSupport

howto

Cabling Command Line

Run AutoRouting from the Creo command line using logical data and an optional routing profile.

Use -CADACTIVE=CABLING to run AutoRouting without the GUI. CadActive opens the equipment assembly, creates a harness, imports logical data, routes, and saves the model.

Shared flags (Creo startup, sign-in, models, Windchill) are on Creo Parametric Command Line.

Example

texttrue

AutoRouting

Action: AUTO_ROUTING (alias AUTOROUTING).

AutoRouting uses the first model only. The harness name is always <equipment>_CABLING (for equipment EQUIP-01, the harness is EQUIP-01_CABLING).

Flag

Required?

What it does

-MODEL / -MODEL_FILE / -MODEL_DIR

Required (one)

Equipment assembly. Only the first model is routed.

-INPUT=

Required

Logical data file (.xml or .nwf). A bare file name is resolved in the working directory.

-ROUTING_PROFILE=

Optional

Routing profile name or id. If omitted or not found, CadActive uses the default profile.

-DESIGN_ROUTE_RULES_FILE=

Optional

CSV that remaps XML entry ports / designations to Creo CSYS names.

-ENTRY_PORT_MAPPING_FILE=

Optional

Alias of -DESIGN_ROUTE_RULES_FILE= (same table). If you omit both, AutoRouting already looks for cadactive_entry_mapping.csv in the working directory.

note

-HARNESS_NAME= is accepted on the command line but is not used. The harness is always named <equipment>_CABLING.

-HARNESS_NAME= is accepted on the command line but is not used. The harness is always named <equipment>_CABLING.

-OUTPUT= is a shared flag and does not change where AutoRouting writes the harness. The routed assembly is saved in session like a normal Creo save.