3. Map NX custom properties (UDAs) - 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
16.2

By default, Smart Interop Publisher first uses the delivered default NXToR3DMapping.xls file when translating. To map custom properties (UDAs) not available in the default mapping, sheet, locate the NX custom mapping file CustomNXToR3DMapping.xls. The default and custom mapping files for Smart Interop Publisher are delivered in [drive]:\Program Files\SmartPlant\Interop Publisher\3DInteropMappingFiles and \CustomMappingFiles. In this section you are going to map the custom properties (UDAs) you previously added in the NX .prt source file.

You must have Microsoft Excel to access the mapping .xls files.

  1. Make a copy of CustomNXToR3DMapping.xls and place it at a different folder location. This prevents any future product upgrades from overwriting your edits. For your convenience, Smart Interop Publisher automatically creates a \3DInteropMappingFiles\CustomMappingFiles subfolder under your defined shared content location in which you can copy the custom mapping file.

  2. Open the file and go to the ClassMap sheet and locate the VALVE source class. This class contains the custom properties to expose by mapping. It is mapped to the Smart 3D class CR3DPipingComponent.

  3. Let's see the Smart 3D property interfaces in CR3DPipingComponent to which we can map the custom properties. Open the SPIOPschema.xlsx file delivered by default in the [drive]:\Program Files\SmartPlant\Interop Publisher folder. This file is provided for reference purposes. The Schema sheet lists the class-to-class and interface/property-to-interface/property mapping for Smart Review and Smart 3D target applications.

    1. Locate the CR3DPipingComponent class.

    2. Review the available interfaces and properties to see the closest match for custom properties. For the custom properties you added in NX, let's use the following mapping to Smart 3D:

      Source Property - D2

      • Target Interface - IJR3DRoundCrossSectionItem

      • Target Property - NominalDiameter

        Source Property - Schedule Thickness

      • Target Interface - IJR3DScheduleThickness

      • Target Property - Schedule Thickness

        Source Property - Temp_Max

      • Target Interface - IJR3DProcessDatainfo

      • Target Property - DesignMaximumTemperature

  4. Close SPIOPschema.xlsx.

  5. Open your copy of CustomNXToR3DMapping.xls and map the properties to the VALVE source class as shown in the example below. Map the Part_name property as Valve. Otherwise, if the Part_Name property in the NX model was not mapped, then Smart Interop Publisher uses ISOGEN_COMPONENT_ID" attribute value as the source class.

  6. Save your edits and close the file. Save the edited mapping spreadsheet file in the Microsoft Excel 97-2003 Workbook (.xls) format.