Adding, Replacing and Removing Components

This task shows you how to add components to a product.
Insert the following cgr files:

ATOMIZER.cgr
BODY_1_2.cgr
BODY_2_2.cgr
LOCK.cgr
REGULATION_COMMAND.cgr
REGULATOR.cgr
TRIGGER.cgr
VALVE.cgr

 

  1. Click the Create Scene icon .
    The Edit Scene dialog box and a scene representation in the window appear.

 

  1. Click OK to confirm the scene identifier.

You are now in a scene window:
  • the background color turns to green.
  • Scene 1 is identified in the specification tree.

 

  1. Click the Exit From Scene icon  to swap to the main window.
    The scene is created and its representation appears in the left corner of the main window.

 

Adding Components to a Scene

  1. Now add the NOZZLE, for this:

  • Right-click Product1 in the specification tree and select Components -> Existing Component...
  • Shift-select NOZZLE1.model and NOZZLE2.model and then click Open.

 

The added components (NOZZLE_1 _2 and NOZZLE_1_2) are identified in the specification tree and added in the geometry area.

  1. Double-click scene1 to swap to the scene window:

  • the newly-added components appear in the specification tree
  • by default, their shape representations are deactivated, therefore the scene visualization is unchanged

 

 

  1. Click the Exit From Scene icon  to update the scene to reflect the  changes made.

 

Now let's see how removing a component affects a scene.

Removing Components from a Scene

  1. Remove, for example, the BODY2 from the initial product (right-click it in the specification tree and select Delete from the contextual menu.)

 

The product is updated accordingly.

  1. Double-click the scene representation to enter the scene.

Scene 1 has been updated in the same manner.

  1. Click the Exit From Scene icon  to update the scene to reflect the  changes made.

 

Now let's see how replacing a component affects a scene.

Replacing Components in a Scene

  1. Replace, for example, the BODY1 in the initial product with the BODY2.model (right-click BODY1 in the specification tree and select Components -> Replace Component... from the contextual menu, then, in the File Selection dialog box, select BODY2.model and click Open.)

 

The product is updated accordingly.

  1. Double-click the scene representation to enter the scene.

 

Scene 1 has been updated in the same manner.