Bundle Configuration > Rule Based Wire Routing
Route Wire Through Selected Nodes Constraint
You can control the wire path of automatically routed wires by using a constraint which forces wires matching a query to pass through nodes satisfying a condition.
Usage
Copy
Do route wire(s) matching Name = .* and <any> through node(s) matching Name = .* and <any>
Arguments
| Arguments | Description |
|---|---|
CopyName = .* |
Use to specify an attribute or property condition to drive the selection of the associated matching object, either a wire or node. Click Name to select the attribute or property to match. Click = to select the matching condition. Click .* to enter the value of the attribute or property to be matched. This can be left as the default Name = .* if you are using a query expression condition. |
Copy<any> |
Use to specify a query expression condition to drive the selection of the associated matching object, either a wire or a node. Click the text to open a popup menu: Edit or New — Opens the Condition Dialog Box, to create or edit a query expression. In the Condition dialog box, click the Advanced Editor button (), to open the Edit Query Expressions dialog box and create or edit advanced queries. See also “Query Expressions”. {any} — Click to apply to all matching objects. Select a predefined query from the list. See “Query Expression Context” to filter items in the list. This can be left as the default |
Description
Any conflicts between the settings of the constraint and the paths of the existing wires in the design are reported by the design rule check "Wire that breaks routing rule." See Capital Harness Designer and Capital Harness Designer Modular - Harness Designer Rules DRCs.
When you perform Route Wires, the wire attribute Routed By Constraint is set to True for any wires affected by the constraint.
Routing success or failure is reported on the Wire Routing tab. Click the hyperlink in the message for more information.
Examples
In this example harness, the default path of WIRE1 is along bundles BUN1 and BUN2, which is the shortest route between its ends.
Figure 132: Shortest Route for WIRE1
However, WIRE1 is required to pass along BUN3 to the end of the insulation, and then back along BUN2. To achieve this, we create a Do Route constraint on the design.
Figure 133: Example Do Route Constraint
The constraint uses an attribute condition to match the name of the wire (WIRE1) and the name of the node (N6).
Now when we perform Route Wires, WIRE1 is routed along the insulation on BUN3 to node N6, and then returns to be routed along BUN2.
Figure 134: Do Route Constraint Defines Path of WIRE1
Parent Topic:
Rule Based Wire Routing
Capital Harness Designer User Guide, 2512
Unpublished work. © 2025 Siemens
Source: https://docs.sw.siemens.com/en-US/doc/861057055/202410078.capital_hd_user/gtu1726560867245 · retrieved 2026-07-18