Add classes and properties to the generic mapping file - 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

For the target applications, populate the generic file you created using the GenerateMapping tool with the required classes and properties. For the target class, interface, and property entries, you can refer to the delivered SPIOPSchema.xlsx file to help you get the correct names.

  1. Make a copy of the GenericToR3DMapping.xlsx file. For your convenience, Smart Interop Publisher automatically creates a \3DInteropMappingFiles\GenericMappingFiles subfolder under your defined shared content location to which you can copy the file.

  2. Open the mapping file and the SPIOPSchema.xlsx schema file to use as a reference.

  3. In the Target Class column in the ClassMap sheet, type in the Smart Interop Publisher class name that relates to the class you are adding. Use the SPIOPSchema.xlsx to look up the available classes.

  4. In the PropertyMap sheet:

    1. In the Target Interface column, type the interface name from SPIOPSchema.xlsx that relates to your source property.

    2. In the Target Property column, type a property from SPIOPSchema.xlsx that relates to your source property.

  5. Repeat steps 2-3 for each new class and property.

    In the example below, a source class called NewDuctClassA has been added with two properties: Name and Width. Refer to SPIOPSchema.xlsx to set up the mapping for Target Interface and Target Property. The source Name and Width are mapped to Name and DuctWidth for the target applications. Although these additions are not actual classes and properties, you can see where they are added and the target information to which they can be mapped.

  6. Save your edits to the mapping file. Save the edited mapping spreadsheet file in the Microsoft Excel 97-2003 Workbook (.xlsx) format. If your target application is SmartPlant Foundation, see:

    1. Edit publish mapping for SmartPlant Foundation

    2. Edit the UIDs

    Otherwise, skip to the next step.

  7. Go to Set the generic mapping option.