Key Concepts > Rules and Constraints
Defining a Constraint in
a Design
You can define a constraint in a design.
Procedure
Click at the start of the constraint to indicate whether you want to use the standard version or an alternative. A drop down list appears, containing the standard version of this constraint and any custom versions of this constraint. Select the required version from the list, and then click OK. If the icon is white, it indicates a standard constraint. A yellow icon indicates a custom constraint. An icon indicates a rule. See Adding Rules to a Design for more information about rules.
Click on the constraint, and then click on the green and red text in the constraint to edit it.The following text may be displayed as editable (red or green) in a constraint: Value — This is used typically when you want to use rules to add properties and attributes to conductors, splices and multicores. Select one of the following: Literal — This means it is a literal value. Enter the value string in the box. You can use wildcards in this string. Click OK, to exit the dialog.
Attribute — This means the value is derived from the value of an attribute on the functional signal or multicore. Select the attribute from the drop-down list in the box. Click OK, to exit the dialog. In the defined constraint, Value Of is placed in front of the bracketed attribute name.
Property — This means the value is derived from the value of a property on the functional signal or multicore. Enter the property name in the box. Click OK, to exit the dialog.
Object Type — Select an object type from the list that appears when you click on this.
AttrOrProp — Select either Attribute or Property. For an attribute, select the attribute name from the drop-down list. For a property, enter the property name in the box, or select from the list of pre-defined property names in the drop-down list. Click OK, to exit the dialog.
If a constraint contains a clause for matching it to particular objects (for example, Object Name = PropValue), you can also edit the match operator that is = by default. The available operators are: = Equal to != Not equal to < Less than
Greater than <= Less than or equal to = Greater than or equal to For example: Only route signals with property matching Object Name != Signal01 In this example, only signals that do not have a value of Signal01 for the Object Name property is routed. Do place devices with property matching Rating >= 7.5 here In this example, only devices that have a value greater than or equal to 7.5 for the Rating property is placed. When specifying a property value string in a constraint, you can use wildcards. For example: .* is all possible strings si.* is any string starting with si.
Parent Topic:
Rules and Constraints
Capital E/E Publisher User Guide, 2512.2606
Unpublished work. © 2026 Siemens
Source: https://docs.sw.siemens.com/en-US/doc/861057055/202511026.capital_ep_user/id0e992ee6-78c6-491e-bfaa-8cf7e3daf416 · retrieved 2026-07-18