Modify the Tool Schema for a Custom Plant Hierarchy - Intergraph Smart Instrumentation - Help

Intergraph Smart Instrumentation Help

Language
English
Product
Intergraph Smart Instrumentation
Search by Category
Help
Smart Instrumentation Version
13.1
  1. Create a hierarchy in Smart Instrumentation that contains the same number of levels as the one defined in the SmartPlant Foundation custom hierarchy. For details, see Create a Plant Hierarchy in the Administration Help.

  2. Modify the following information in the delivered INtoolsMap.xml file to map it to the levels in the example custom hierarchy.

    • The INtoolsMap.xml file is installed by default in the path <Smart Instrumentation home folder>\XML\.

      INtoolsMap.xml File Level

      Mapped To

      Custom Hierarchy Level

      TEFRetrieve_PBSDocument_Plant

      County

      Top level

      TEFRetrieve_PBSDocument_Area

      City & District

      Intermediate levels

      TEFRetrieve_PBSDocument_Unit

      Precinct

      Lowest level

    • The values in the Mapped To column are for this example only. You should substitute the appropriate values for your hierarchy.

    • You will need to create new map classes ICity, IDistrict, and IPrecinct.

  3. Launch Schema Editor.

  4. On the Workflows dialog, select the Tool Schema tab.

  5. Select Open.

    PPM All Outputs Graphic

  6. Navigate to the file path: Program Files(x86) > Common Files > Intergraph > EFSchema > EFSchema.xml.

    The file may take some time to open.

  7. Select Open to select the tool schema file.

    PPM All Outputs Graphic

  8. Navigate to the INtoolsMap.xml file.

  9. Select View.

    PPM All Outputs Graphic

  10. On the View Tool Schema dialog, from the Form list, select Tree/Table Horizontal, and then select OK.

  11. In the tree view, expand the SPMapClassDef node.

  12. Scroll down to the TEFRetrieve_PBSDocument_Plant node.

    PPM All Outputs Graphic

  13. Right-click this SPMapClass and on the shortcut menu, select Edit INTL_TEFRetrieve_PBSDocument_Plant.

  14. On the Edit Map Class Definition dialog, under the Retrieve map section, clear the value IPlant and select the ellipsis button as shown:

    PPM All Outputs Graphic

  15. On the dialog Possible ClassToMapClass\Classes for TEF Retrieve_PBSDocument_Plant, in the Search box, type iplant.

  16. Select IPlant as shown and select OK.

    PPM All Outputs Graphic

    The top-level interface (IPlant in this example) cannot be renamed. Therefore, in the custom hierarchy, the top level will always be mapped to IPlant. Consequently, the IPlant interface remains mapped to the IPlant interface (as shown in the graphic) and no mapping changes are required.

  17. Select OK to close the Edit Map Class Definition dialog.

  18. Right-click the TEFRetrieve_PBSDocument_Area node, and on the shortcut menu, select the Edit option.

  19. On the Edit Map Class Definition dialog, under the Retrieve map section, clear the value IFunctionalArea and select the ellipsis button.

  20. On the dialog Possible ClassToMapClass\Classes for TEF Retrieve_PBSDocument_Area, map the intermediate level interface to ICity and IDistrict.

  21. Select OK to close the Edit Map Class Definition dialog.

  22. Right-click the TEFRetrieve_PBSDocument_Unit node, and on the shortcut menu, select the Edit option.

  23. On the Edit Map Class Definition dialog, under the Retrieve map section, clear the value IFunctionalUnit and select the ellipsis button.

  24. On the dialog Possible ClassToMapClass\Classes for TEF Retrieve_PBSDocument_Unit, map the lowest level interface to IPrecinct.

  25. Select OK to close the Edit Map Class Definition dialog.

  26. Select File > Save.

  27. Close the Schema Editor, and at the prompts to save the data and to load the changes to the SmartPlant Foundation Server, select Yes.