Tree/Editable UML View: An Example - Integration - Update 44 - Help - Hexagon

Integration Help

Language
English
Product
Integration
Search by Category
Help
Smart 3D Version
12.1 (2019)
Smart Construction Version
2019(7.0)
SmartPlant Foundation / SDx Version
10
Smart Electrical Version
2019 (9.0)
Smart Materials/Smart Reference Data Version
2020 (10.0)
Smart P&ID Version
9 (2019)
Smart Review Version
2020 (15.0)
Smart Engineering Manager Version
10 (2019)
Smart Interop Publisher Version
13.1 (2019 R1)
Smart Isometrics Version
7.0(2019)
Spoolgen Version
9.0(2019)

The Tree/Editable UML view displays a tree view on the left of the drag-and-drop UML pane. You can select items from the tree view to display in the UML view by dragging the objects from the Tree view to the UML view. As you drag items to the UML view and drop them, the relationships among those items are automatically displayed in the UML view.

When you drag and drop an object to the UML view, you can choose whether you want to display the default UML view for that object or create your own. If you create your own UML view, you must give the UML view a name and description and define which existing package to which you want to add the new UML view.

For example, dragging the INDXInstrument, ILoopMember, and IInstrument classes and interfaces from the Tree view to the UML view without displaying the default UML views for each object results in the UML diagram shown in this graphic:

In the resulting UML view, you can see the realizes and implies relationships between the selected objects and the relationship ends for each one.

You can also use the Tree/Editable UML view to select an existing UML view that you want to display using the Packages tree. Packages are used to organize UML diagrams. Clicking a UML diagram in the Packages tree or dragging and dropping the UML diagram from the Packages tree to the UML view displays that UML diagram. You can also create your own UML views, name them, and store them as part of a package.

After you create your own UML view by selecting the objects that you want to display in the UML view or select a UML view from the Packages tree, you can customize the display even further by doing one of the following:

  • Moving objects and labels

  • Changing the display color for objects

  • Removing objects, relationships, and labels

  • Changing the display of interfaces

  • Aligning objects

To move an object in the UML view, drag the object to a new location. You can move classes, interfaces, and other objects in the UML view. As you move objects in the UML view, they remain attached to each other by their relationships.

To use commands for modifying the UML display for a particular object, right-click the object in the UML view, and then click the appropriate command on the shortcut menu. To align objects in the UML view, right-click the background of the UML view, and then click Align on the shortcut menu.

After you create a UML view, you can clear the view and start again. To create a new UML view, right-click the background of the UML view, and then click New UML view definition on the shortcut menu.

To view a file using the Tree/Editable view, do the following:

  1. After you open schemas, tool schemas, or data files, click the type of file that you want to view on the View menu. For example, to view the schema, click View > Schema (All).

  2. Click Options on the View Schema dialog box.

  3. On the View tab, click Tree/Editable UML.

    • If you do not see the View tab, the View dialog box is in Simple mode. Select the view that you want to use in the Form list instead.

    • If you want to change how data is displayed in the Tree view, make changes on the Tree Options tab on the Options dialog box.

    • If you want to change how data is displayed in the UML view, make changes on the Drag/Drop Options tab on the Options dialog box.

  4. Click OK.

  5. Navigate to an object in the Tree view at the bottom of the Tree/Editable UML window.

  6. Drag the object to the UML view.

  7. In the Schema Editor message box, click No to create a customized UML view.

    SHARED Tip To display the default UML view for the selected object type, click Yes in the Schema Editor dialog box.

  8. Beside the Package box, click  to select the existing package in which you want to store the UML view.

    SHARED Tip If you want to create a new package to store your UML view, click Create to define the new package.

  9. Define a display name and other properties for the UML view on the Properties tab of the New UML View Definition dialog box.

  10. Click OK to save the UML view definition.

  11. Move the object around in the UML view as needed.

  12. Right-click the object to change the display of the object.

  13. Add additional objects to the UML view by browsing in the Tree view and dragging the objects to the UML view.

You can view existing UML views by browsing to the view in the Packages tree and then selecting the UML diagram that you want to see in the UML view.

See Also

Navigating Files and Data in the Schema Editor