Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

Example 2: Verify behavior of associated content

  • Last UpdatedApr 22, 2025
  • 2 minute read

Here, we examine how the selection of Choices and Options affects graphics that are associated with them. For an overview of how an Object Wizard behaves in Test mode, see About object wizard behavior in test mode.

Start by creating new graphics and associate them with some Object Wizard Choices.

  1. Create three new graphics. In this example, each graphic contains an embedded Situational Awareness Library graphic.

    • 2WayValve

    • 3WayValve

    • 4WayValve

  2. Highlight one of the Choices in the Valve Type Choice Group (1), then select the graphic with the corresponding name and drag it to the Associations pane (2). For example, with the 2-Way valve type Choice highlighted in the Choices and Options pane, drag and drop the 2WayValve graphic from the Symbols pane to the Associations pane.

    Make sure that the Trimming checkbox (3) is selected in the Associations pane; the default state for graphics is unselected. See Object wizard trimming for additional information.

    Drag content to associate with a wizard choice

  3. Repeat for the remaining valve types (with trimming enabled).

  4. Create two more graphics: Symbol001 and Symbol002. We will leave these graphics unassociated with any particular Choice or Option. Since they are not a part of the Object Wizard, these graphics will be included in all objects that are derived from our Object Wizard. It does not matter if trimming is enabled for these, since without any Object Wizard association, they are considered to be owned by the object.

  5. To verify attribute behavior, select the Test button.

    • With the default Object Wizard selections made (in this case, 2-Way Valve), the 2WayValve graphic associated with this choice is shown, along with the two graphics not associated with any Wizard Choices or Options (Symbol001 and Symbol002). These can be seen in the Symbols pane. Note the message at the bottom of the Symbols pane that states "3 of 5 displayed." This is because the 2WayValve and 3WayValve graphics are hidden.

      Test the behavior of the wizard choice

    • Change the Valve Type to 3-Way. This displays the 3WayValve graphic and hides the 2WayValve and 4WayValve graphics.

    • Change the Valve Type to 4-Way. This displays the 4WayValve graphic and hides the 2WayValve and 3WayValve graphics.

      Note: When configuring an instance from an Object Wizard, unused attributes that have trimming enabled are not propagated to the instance. Only attributes not associated with the Object Wizard, and attributes with trimming enabled that evaluate as required, are present in the instance after the instance is saved. Trimming does not occur until after an object is saved, and any overrides a user enters for a trimmable attribute remain in memory until the user saves the object.

TitleResults for “How to create a CRG?”Also Available in