4.1. Top Level CimEdit Group Object in a Class

About this task

The CimEdit group object can be created to be the source for graphics that are created for a CIMPLICITY class object.

Define a top level group object as follows.

A Place objects on a CimEdit screen.
B Group the objects into a Class Group Object.
C Identify the group object.
D Assign an $OBJECT variable to the group object.
E Create additional objects.
  1. Place Objects on a CimEdit Screen

You can use any of the thousands of CimEdit objects on a class CimEdit screen. The type and number of objects you place on the screen depends on the class requirements.

The following are examples of objects that can be replaced with values for a class object.

1 Text string.
2 Trend ActiveX object.
3 Fill in a tank group object from Object Explorer.
4 Numeric text to track tank data.
  1. Group the Objects into a Class Group Object

The class group object becomes the source for graphics that are created for CIMPLICITY class objects.


  1. Select the objects that should be included in the group object.

    Note: You can create more than one group object, then select one to be the default .

  2. Groupthe selected objects the same way you group any objects on a CimEdit screen.
  3. Identify the Group Object

    A CimEdit class group object requires a name.

  4. Select the class group object.
  5. Open its Object - Group Properties dialog box, using any of the methods provided by CimEdit, for example:
    1. Right-click the group object.
    2. Select Properties on the Popup menu.

    The Properties - Group dialog box opens.

  6. Name the top-level group object as follows.
    1 Select General.
    2 Enter a name in the Object name field.
    3 Click Apply.
    4 The Object name (e.g. Object) displays in the Properties - Group dialog box title bar.
    1. Assign an $OBJECT Variable to the Group Object

    A variable must be assigned to the class (group) object that CIMPLICITY will substitute with the appropriate (class) object name.

    Assign the CIMPLICITY $OBJECT variable to the top level group object as follows:


When an object that is created from the class is dragged into CimEdit, a class object graphic is created. The name of the object is substituted for {$OBJECT} in expressions during runtime.

1 Select Variables.
2 Enter $OBJECT in the Variable field.
3 Check Public.
4 Click OK.
Note: The $OBJECT variable on the Variables tab is read-only when a CimEdit screen designer opens the Properties - Class Object dialog box.
  1. Create Additional Objects

Follow the same procedure to create as many additional group objects as necessary.

Any of the group objects can be selected as the default object for a class object.


A CimEdit screen named WaterHeating.cim includes three objects.

Each group object is assigned a unique name.

1 object
2 TemperatureHeater