Create a View Definition - 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)
  1. Open the Editor view. For more information, see Create New Objects and Relationships in the Schema.

    Tell me more

    To open either of the editor views, on the View menu, click the type of file that you want to modify. Then click Editor or Editor2 in the Form box on the simple View dialog box or on the View tab of the advanced View dialog box. For example, to use one of the editor views to modify the active schema, click View > Schema (All).

  2. Double-click ViewDef in the Create tree.

  3. In the New View Definition dialog box, type a name for the new view definition in the View name box on the Overview tab.

    A comparison view definition is a special type of view definition that is intended for performing comparisons between the two sets of data described by the comparison view definition.

  4. If you want the display name for the edge definition to be different from the name, type the display name in the Display name box.

  5. Select the graph definition that you want to use as the starting point for the view definition from the Graph name box.

  6. If you want to use this view definition to create ad-hoc reports in SmartPlant Foundation Desktop Client, go to the Properties tab and provide a description or name for the view definition on the Desc box.

    SHARED Tip When you create a new report in the Desktop Client, the value in the Desc box is the name you will see for this view definitions in the New Report dialog box.

  7. Click the Layout tab.

  8. In the Graph edges tree, expand the interfaces and edges that were included in the graph definition you selected at the basis for your view definition. This list will include the starting interface of the graph definition, any interfaces implied by the starting interface, and all edge definitions and relationship definitions included in the graph definition.

    The Graph edges tree contains all of the graph edges for the directed graph definition used by the view definition.

  9. Select the property category or graph edge for which you want to add properties to the new view definition.

    CreateView_PropertyCategory

    • Under the graph edge node, expand the Property Categories node if you want to select from property categories for the graph edge or the View Definitions node if you want to select from other view definitions that start at the end interface definition for the graph edge.

    • If no other view definitions start at the end interface definition for the selected graph edge, the View Definitions node is not available.

    • When you select a property category, the software displays properties for that category in the Properties for graph edge list. Properties exposed on interfaces that were not assigned a property category are included under No Category. For more information about property categories, see Create an Interface Definition.

    • When you select a graph edge under a view definition node, the software displays the view properties for that view definition that use the selected graph edge in the Properties for graph edge list.

  10. In the Properties for graph edge list, select the check box beside property names to add them to the view definition.

    • When you select the check box beside a property name, the property appears in the Current view definition table.

    • If a property with the same display name already exists in the view definition, the display name for the property you add is changed to <graph edge name>_<property definition name>. To change the display name, see step 11.

    • To find a property to add, you can type all or part of the property name that you want to search for in the text box below the Properties for graph edge list, and then click Find. To find the next property that matches the string you typed, click Find Next.

    • You can also remove a property from the view definition by right-clicking the property in the Current view definition table and then clicking Delete on the shortcut menu or by clearing the check box beside the property name in the Properties for graph edge list.

  11. To change the displayed name for a property in the view definition, select the property in the Current view definition table, and type a new display name in the Name box below the table. To change the property category for a property in the view definition, select the property in the table, and choose a different value in the Category list below the table.

    • Defining a different display name for a property allows you to differentiate among multiple properties with the same display name in the view definition. For example, many properties have a display name of "Name" but the properties actually represent the names of different objects. You can modify the display name to be more specific than "Name" for all the name properties you add to the view definition.

    • When a custom view definition is configured to display properties for an object selected in the SmartPlant Foundation Desktop Client, the property category is used to organize those properties in the Properties window.

    • You can change the property category for multiple properties by selecting several properties in the table and then selecting a new property category in the Category list.

  12. Click OK.

Change the Order of Properties in a View Definition

  • The order that properties are listed in the grid is the default order in which they will appear in ad-hoc reports in SmartPlant Foundation Desktop Client. To change the order of properties in the view definition, do the following:

  1. In the Current view definition table, select the property or properties that you want to move. To select multiple properties, hold down the CTRL key while you click multiple properties.

  2. Right-click one of the selected properties.

  3. Click Cut on the shortcut menu.

  4. Right-click the row below where you want to move the properties in the table.

  5. Click Paste Insert. Properties are inserted above the row you select.

See Also

Naming Conventions in the SmartPlant Schema
SmartPlant Schema Overview