SC Config Manager / Power Pack Manager User's Manual
Chapter 8
Defining Configuration Rules & Constraints
Contents:
  Using Sets Value On
RULE AVAILABLE ONLY IN SC CONFIG POWERPACK!
AHEAD TO STEP 4>

 

The Sets Value On Rule provides a way to assign the value of an Attribute (or combination of Attributes) from the [LHS] of a Constraint to an Attribute on the [RHS]. It uses a special symbol: << that means "Is Assigned".

The Sets Value On Rule is the only Rule that requires the use of a Constraint, because its main function -"Is Assigned" - focuses on relationships between Rule elements' Attributes.

Example:
Fantastic Furniture makes custom tables; each customer can select the shape and size of tables to be built. Fantastic Furniture wishes to track the area of their circular tables:
(A =¼ p d2).

1. First, they define a new Attribute for their Round Tables Part Class, named Diameter.





Figure 8- 20. Round Tables Sets Value On Table Area

2. In the Rules Detail pane, they define a Sets Value On Rule:

"Round Tables Sets Value On Table Area"

3. Next they create the Constraint for the Sets Value On Rule. The Constraint needs to define:

  • The Attribute of the Part Table Area [Area] as the "target" for the assigned value
  • The [Operator]-in this case, << "Is Assigned"
  • The Attribute of the Part Class Round Tables [Diameter] as the source of the value that is assigned to the Table Area Part Class' [Area] Attribute, and
  • The necessary calculation (A =¼ pd2) to be performed on the Part Class Round Tables {Diameter} Attribute.
Next> Step 4