Rules and Constraints
Defining a Constraint for
a Design
In Capital Logic Designer, you can define constraints for a whole design only.
Alternatively, you can associate constraints to form rules which you can apply to a whole design. See also Defining Rules.
Procedure
Right-click the appropriate design in the Project Browser window and select Edit.The Edit Design dialog box is displayed.
Click Properties.The Edit Design Properties dialog box is displayed.
Click the Rules tab.
Click Add Constraint, select the type of constraint to define, and then click OK to add it to the Rules tab.
Select the constraint and click the green and red text in the constraint to edit it.
You can click the Custom Constrain () icon to use the standard or custom version of the constraint. Select the required version from the list and 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 also Adding Rules to a Design. The following text may be displayed as editable (red or green) in a constraint:
Value Typically used 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 box.
Attribute This means the value is derived from the value of an attribute on the functional signal or multicore. Select the attribute from the dropdown list in the box. Click OK to exit the dialog box. In the defined constraint, ValueOf is placed in front of the bracketed attribute name. For example,
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 box.
Object Type Click and select an object type from the list that is displayed.
AttrOrProp Select Attribute or Property. For an attribute, select the attribute name from the dropdown list. For a property, enter the property name in the box or select from the list of pre-defined property names in the dropdown list. Click OK to exit the dialog box.
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 will be 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 will be 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
Related Topics
Rules and Constraints
Defining Rules
Adding Rules to a Design
Capital Logic Designer User Guide, 2512
Unpublished work. © 2025 Siemens
Source: https://docs.sw.siemens.com/en-US/doc/861057055/202410078.capital_ld_user/ideeaa3f66-1b0e-4a29-a255-e4dd7515620c · retrieved 2026-07-18