-
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.
-
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.
-
-
Launch Schema Editor.
-
On the Workflows dialog, select the Tool Schema tab.
-
Select Open.
-
Navigate to the file path: Program Files(x86) > Common Files > Intergraph > EFSchema > EFSchema.xml.
The file may take some time to open.
-
Select Open to select the tool schema file.
-
Navigate to the INtoolsMap.xml file.
-
Select View.
-
On the View Tool Schema dialog, from the Form list, select Tree/Table Horizontal, and then select OK.
-
In the tree view, expand the SPMapClassDef node.
-
Scroll down to the TEFRetrieve_PBSDocument_Plant node.
-
Right-click this SPMapClass and on the shortcut menu, select Edit INTL_TEFRetrieve_PBSDocument_Plant.
-
On the Edit Map Class Definition dialog, under the Retrieve map section, clear the value IPlant and select the ellipsis button as shown:
-
On the dialog Possible ClassToMapClass\Classes for TEF Retrieve_PBSDocument_Plant, in the Search box, type iplant.
-
Select IPlant as shown and select OK.
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.
-
Select OK to close the Edit Map Class Definition dialog.
-
Right-click the TEFRetrieve_PBSDocument_Area node, and on the shortcut menu, select the Edit option.
-
On the Edit Map Class Definition dialog, under the Retrieve map section, clear the value IFunctionalArea and select the ellipsis button.
-
On the dialog Possible ClassToMapClass\Classes for TEF Retrieve_PBSDocument_Area, map the intermediate level interface to ICity and IDistrict.
-
Select OK to close the Edit Map Class Definition dialog.
-
Right-click the TEFRetrieve_PBSDocument_Unit node, and on the shortcut menu, select the Edit option.
-
On the Edit Map Class Definition dialog, under the Retrieve map section, clear the value IFunctionalUnit and select the ellipsis button.
-
On the dialog Possible ClassToMapClass\Classes for TEF Retrieve_PBSDocument_Unit, map the lowest level interface to IPrecinct.
-
Select OK to close the Edit Map Class Definition dialog.
-
Select File > Save.
-
Close the Schema Editor, and at the prompts to save the data and to load the changes to the SmartPlant Foundation Server, select Yes.