CapitalKnowledge

Rules and Constraints

Using a Constraint to Set Properties and Attributes on Objects

You can use the Set Logic Attribute/Property on Object constraint to set a property or attribute with a particular value on objects of a particular type.

Procedure

  1. Set the Set Logic Attribute/Property on Object constraint in a design. Tip You can set this constraint multiple times, specifying a different object type and different property / attribute values each time. See Rules and Constraints to set rules and constraints.

The constraint is: Set Object Type AttrOrProp to Value where AttrOrProp = Value An example of its use is: Set Wire Name to ValueOf(PartNumber) where EMC Category = A In this example, if a wire has an EMC Category property of A, the Name attribute of that wire will be set to its part number value.

  1. To apply the constraint or constraints to a diagram, press the space bar and enter Apply Constraints.The properties and attributes from the constraints are set for the appropriate objects.

Parent Topic:

Rules and Constraints

Capital Logic Designer User Guide, 2512

Unpublished work. © 2025 Siemens

Source: https://docs.sw.siemens.com/en-US/doc/861057055/202410078.capital_ld_user/id726540a2-680c-4b2b-b3b5-82750c827334 · retrieved 2026-07-18