Remove Mapped Properties - Intergraph Smart 3D - Administration

Intergraph Smart 3D Integration

Language
English
Product
Intergraph Smart 3D
Subproduct
Integration
Search by Category
Administration & Configuration
Smart 3D Version
11 (2016)

To begin, open the schema and tool schema files for editing in Schema Editor.

  1. Start Schema Editor by clicking Start > Programs > Intergraph SmartPlant Foundation > SmartPlant Schema Component > SmartPlant Schema Editor.

  2. On the Workflows > Schema tab, open the P3DComponent.xml (or EFSchema.xml) file.

  3. On the Workflows > Tool Schema tab, open the SP3DPublishMap.xml file.

  4. Now that you have loaded the schema and tool schema files, open a view that shows the MapProperty to Property mapping in order to delete the MapProperty to Property relationship. To do so, click the View button beside the Tool Schema File button to display the View Tool Schema dialog box.

    If the View Tool Schema dialog box displays as shown below, click the Advanced button.

  5. On the View tab, select the View option, and then select Map Property. Click OK.

  6. Select the properties for which you want to remove the mapping (shown in the MapToClassProperty column), then right-click and select Delete relationship.

    If you are deleting a number of relationships, turn off auto-update to avoid waiting for the Schema Editor to update the screen after each relationship deletion. When you finish deleting relationships, right-click and select Update to perform all of the updates at once.

    • Schema Editor does not support multi-select when deleting the relationships, so you will need to remove the relationships one by one. Be sure to remove only the relationship and not the actual objects.

    • Some properties will display another dialog box, similar to the one shown below for Catalog Part Number. This dialog box shows multiple relationships, each of which needs to be deleted.

      The P3D Component Schema contains the following two required properties that are exposed on required interfaces and that have values that must be non- null. Unmapping the tool properties that map to these properties results in null values being published for these properties in the data xml. This results in validation errors being reported for such instances in the data xml.

      InterfaceDef: IEquipment
      PropertyDef: EqType0

      InterfaceDef: IEquipmentComponent
      PropertyDef: ProcessEqCompType1

  7. In addition to removing the MapsToClassProperty relationship, you must also clear any SelectPropertyCriteria and ProcessPropertyCriteria entries that are shown for the properties that you are unmapping.

    To do this, right-click the entry in the ProcessPropertyCriteria column, and select Edit.

    In the Edit Map Property Definition dialog box, clear any entries in the Select criteria and Process criteria fields, and then click OK.

  8. After you finish unmapping the properties, close the window to return to the Schema Editor Workflows dialog box.

  9. Now that you have unmapped the properties, you must also unmap the classes and delete the MapClass to Class relationship for the interfaces. To do this, click the View button beside the Tool Schema File button to display the View Tool Schema dialog box.

  10. On the View tab, select the View option, and then select Map Class. Click OK.

  11. The IsInterface column displays a Boolean (True or False) value indicating whether the class is an interface. Sort the view by clicking the IsInterface column header, then scroll down to the first occurrence where IsInterface = True.

  12. In the MapsToClassDef column, right-click each interface for which you want to remove the mapping, and select Delete Relationship.

    • Delete only the relationships. Do not delete the objects themselves.

    • Do not delete the IObject classdef relationship.

  13. Just as in step 7, in addition to removing the MapsToClassDef relationship, you must also clear any SelectClassCriteria and ProcessClassCriteria entries that are shown for the interfaces that you are unmapping. To do this, right-click the entry in the ProcessPropertyCriteria column, and select Edit. On the Edit Map Property Definition dialog box, clear any entries in the Select criteria and Process criteria fields, and then click OK.

  14. After you finish unmapping the properties, close the window to return to the Schema Editor > Workflows dialog box.

  15. Click Tools > Tool Schema > Validate > Display Results to validate the Tool Schema file to make sure that no new validation errors were introduced while editing the schema files.

  16. Save the Tool Schema (SP3DPublishMap.xml) file. Use this modified Tool Map Schema file for updating the 3D model data document.

See Also

Removing Mapped Properties