Create a Map Property 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. After you open the tool map schema that you want to edit in the Schema Editor, click View > Tool Schema.

    SHARED Tip If you are creating a new map property definition in the Map Environment for an authoring tool that uses a metadata adapter, click New Map Property Definition on the Publish or Retrieve tab for the map class definition and skip to step 5.

  2. Click Options on the View Schema dialog box.

  3. On the View tab, click Editor, and then click OK.

    SHARED Tip If you do not see the View tab, the View dialog box is in Simple mode. Click Editor in the Form list instead.

  4. In the Create tree, double- click SPMapPropertyDef.

    SHARED Tip You can also create map property definitions by double-clicking the SPMapPropertyDef node in any tree view in any Schema Editor view.

  5. In the Name box, type a name for the map property definition.

    SHARED Tip Unlike the SmartPlant schema where a property name can only be used once, property names can be reused in the tool map schema for different map classes.

  6. In the Select criteria box, define the criteria that the tool adapter uses to select or identify objects for this tool property definition. See the mapping rules for your authoring tool for how to set the value for this property.

  7. In the Process criteria box, define the criteria that the adapter uses to process objects that are instances of this tool property definition. See the mapping rules for your authoring tool for how to set the value for this property.

    SHARED Tip For example, if the tool adapter must do a conversion on an enumerated list or the unit of measure for a property before the property is published to SmartPlant, use the Process criteria box to specify the method used for the conversion, for example, EFAdapter.EnumConversions.

  8. To define the tool map class definitions that expose this map property definition, click beside the Exposed by map classes box, and select the authoring tool class definitions.

    SHARED Tip If the map classes that you want to associate with the map property definition do not already exist in the tool map schema, you can click Create in the Possible MapClass Values dialog box to create them. For more information, see Create a Map Class Definition.

  9. If the map property definition has values defined by an enumerated list, click beside the Scoped by enumeration box, and select the tool map enumerated list definition that scopes this tool map property definition.

    SHARED Tip If the map enumerated list that you want to associate with the map property definition does not already exist in the tool map schema, you can click Create in the Possible MapEnumList Values dialog box to create it. For more information, see Create a Map Enumerated List Definition.

  10. Click OK to save the map property definition.

Defining mapping for an object does not necessarily mean that you can publish and retrieve that object. The authoring tool adapter determines the objects that you can publish and retrieve. For more information, see rules for your authoring tool in the tool documentation.

When you create a map property definition, the Schema Editor automatically assigns a UID to the map property definition. See the mapping rules for your authoring tool for information on UID values to use. Some application adapters will not work correctly if the values for the UID do not follow the rules for that application.