Editing Class Attributes

You can modify the attributes (name, type, extension, properties) of any class, from the root class to the final component.


Before you begin: From the Package Browser, activate a class.
Related Topics
Creating a Class
  1. Select Class Attributes .

    The Class Attributes dialog box appears and displays the attributes of the active class.

    If there is any description associated to the class, it is displayed from the Description field.

  2. If needed, modify the class name in the Name field.

    Tip: The Rename command is also available from the contextual menu of a selected class, in the Package Browser.

    Important:
    • In logical behaviors, you cannot rename neither PLMInterface, PLMConnectors nor the logical representation.
    • Do not use the same name and version as a library already stored in database.

  3. On the Class attributes tab, select a class type from the Class Type box. For the purpose of this scenario, select Type.

  4. From the Extends area, click Switch between class and basic type selection .

  5. Select Real as a basic type then click Add.

    Warning: The class type must inherit from a consistent basic type. For example, a Real basic type can be extended only by a Type class type.

    The Real basic type is added to the Class Path list.

    Important: If needed, you can remove a basic type or a class from the Extends Class Path using the Remove button.

  6. Optional: From the Properties area, select Partial, Protected or Replaceable.

  7. Click the More button to display the Dynamic typing box.

    Important: For short replaceable classes, a constraint can be specified. For other classes, this option does not appear.



  8. Click the Graphical Options tab.



    The options on this tab let you define the coordinate system properties of the diagram and the icon layers. The coordinate system is represented by a frame on both layers. Preserve aspect ratio and Initial scale are applied to components instantiated from a class.

  9. Enter the minimum and maximum horizontal and vertical values for both layers to define the frame.

  10. Select the Preserve aspect ratio check box to keep the aspect ratio when resizing a component in the diagram layer.

  11. In the Initial scale box, define the initial scale for a component.

  12. Click OK to exit the dialog box and save the new class attributes.