3. Map a property to the Smart Interop Publisher schema - Intergraph Smart Interop Publisher - Help

Intergraph Smart Interop Publisher Help

Language
English
Product
Intergraph Smart Interop Publisher
Search by Category
Help
Smart Interop Publisher Version
17

Add the Description property to an existing Smart Interop Publisher class and interface. In this case, you are going to add the Description property to a PLATE part. You can look at the SPFMapping sheet in the delivered SPIOPschema.xlsx file to see the properties that are already mapped.

Review SPFMappings.xlsx

  1. Go to [drive]:\Program Files\SmartPlant\Interop Publisher and open SPIOPschema.xlsx.

  2. Click SPFMappings.

  3. Go to the CR3DPlatePart Smart Interop Publisher class in the first column.

  4. In the Interface (C) column, locate IJR3DElement. This is an interface that is common and available for almost all Smart Interop Publisher classes. You can add a Description to this interface and the property displays for most objects in Smart Interop Publisher.

  5. Now that you have used SPIOPschema.xlsx to determine where in the schema to add the property, you can close or minimize the file.

    Edit CustomIFCToR3DMapping.xlsx

  6. Go to [drive]:\Program Files\SmartPlant\Interop Publisher\3DInteropMappingFiles\CustomMappingFiles.

  7. Copy the CustomIFCToR3DMapping.xlsx and place it in a different folder. Although you can edit the custom mapping files in the delivered folder location, we recommend that you make copies of delivered files and modify the copies.

  8. Open the copied CustomIFCToR3DMapping.xlsx.

  9. In the ClassMap sheet, insert a new PLATE row and enter the following column information:

    • Source Class - PLATE

    • Target Class - CR3DPlatePart

    • UID - GlobalId

  10. In the PropertyMap sheet, create a new row and enter the following column information:

    • Source Class - PLATE

    • Source Property - Description

    • Target Interface - IJR3DElement

    • Target Property - Plate Description

    The Target Property value is what you see in SmartPlant Foundation. This value does not have to be the same name as the Source Property value.

  11. Save your edits and close the custom mapping file. Close all other spreadsheet files.