Translate .vue files from SPRDirect - 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

You can translate .vue files from Smart 3D so that each property label display is converted to a standard one for all target applications. The following information provides the requirements and basic steps in going from Smart 3D SPRDirect to Smart Interop Publisher. The Help topics and product document that correspond to the step are also listed.

Requirement

Make sure that the .vue, .mdb, and .mdb2 files are in the same folder location.

Smart 3D

  1. Copy the following to the .xml folder in your current symbol share folder from its installed location:

    • MapClassIDToLevelDisciplines.txt

    • ReportSettings.txt

  2. Bulkload the SPRDirect catalog additions (upgrade only).

  3. Optionally, add a custom label, surface style rule, or aspect:

    1. Use the Smart 3D Label Editor to create custom labels and label rules.

    2. Edit the ReportSettings.txt configuration file to add any new labels, surface style rules, and aspects.

  4. Optionally, edit the MapClassIDToLevelDisciplines.txt file to change discipline names or assign different levels to disciplines.

    Smart Review reserves Level 1 for unmapped components. You can use Find Level 1 to find all your unmapped components (if any). Thus, Smart Review increments by one the level numbers specified in the Smart 3D mapping file (either the legacy MapComponentsToDisciplines.txt file or the replacement MapClassIdToLevelDisciplines.txt file). For example, the P3DCable component is specified as Level 1 but displays inside Smart Review as Level 2. Change the P3DCable component to be specified as Level 0 to have it mapped to Level 1.

  5. Create and run the SPRDirect Report using the S3DtoSPRDirect spreadsheet report. The software generates the .vue, .mdb, and .mdb2 files.

Custom Mapping (Optional)

You can include new classes and properties, map any unmapped properties that you have added, and define unit of measure strings for property values using the customSPRDirectToR3DMapping.xls mapping template files. You can skip this section and use the default mapping provided with Smart Interop Publisher.

  1. Review the SPRDirectToR3DMapping.xls default mapping file to see the classes and properties that are currently mapped.

  2. Make a copy of the customSPRDirectToR3DMapping.xls file located in the CustomMappingFiles folder, and place it in another folder location.

  3. Edit the custom mapping file to either modify property labels or add classes and properties. See Edit the custom mapping template file.

    Smart Interop Publisher removes any colons placed inside a property name during translation. For example, if you enter Net:Area for the property name, the resulting translation displays NetArea.

  4. To display unit strings such as 'meters' or 'inches' with specific property values in the translated model, you can define the Units G column in customSPRDirectToR3DMapping.xls, See Set the units of measure (UoM) in custom mapping.

  5. For publishing to SmartPlant Foundation, check the publish mapping in the SmartPlant Schema Editor to make sure they match the classes and properties you added. If not, you must add the new classes and properties using the Schema Editor. See Edit the UIDs for SmartPlant Foundation and then Check publish mapping for SmartPlant Foundation.

  6. For attachment as a Reference 3D model, add the new classes and properties to the schema file CustomR3DSchema.xls. A template file is delivered with Smart 3D.

  7. To set up custom mapping for a third-party format target such as Industry Foundation Classes (IFC), you must also create Hexagon schema (R3D)-to-IFC mapping. See Use custom mapping for third-party format targets.

Translation

  1. Click the Smart Interop Publisher icon on your desktop .
    -OR-
    Click Start > All Programs > Intergraph Smart Interop Publisher.

  2. If you are not in the Projects View, click Projects.

  3. Select or create a project to use in the grid.

  4. Right-click the project, and then select Settings Menu > Project Settings Command.

  5. Use the default settings, or make any required changes.

  6. For Target Applications, select the Hexagon Asset Lifecycle Intelligence applications and third-party format to use. If you select a third-party format, verify that you have the required license. For example, you must have an IFC license to use the Industry Foundation Classes target.

    SHARED Tip Selecting only the target applications you require can produce a faster translation time. Smart Interop Publisher only generates files required for the selected target.

  7. Save your project settings, and then right-click on the project to select the Settings > Translation Settings Command. Smart Interop Publisher displays the Translation Settings Dialog.

  8. Click New in the Select or Create Settings Group list, and type the name to use.
    -OR-
    Edit the Default translation settings group.

  9. Click Smart 3D in the left-hand side of the dialog.

  10. For translation to Portal target applications, you can select one or more pre-defined Smart 3D Aspects for data translation. By default, Smart Interop Publisher selects and translates all aspects from Smart 3D source files for review in a Hexagon Asset Lifecycle Intelligence Portal application.

  11. Save your translation settings.

  12. Click Models to go back to the Models View.

  13. On the Source Files Grid, click Add , and then select the .vue file. Although you are just selecting the .vue file in Smart Interop Publisher to translate, make sure that the .vue, .mdb, and .mdb2 files are all in the same folder location. The .vue file displays in the grid.

  14. Select each source file to use in creating the Smart Model, and then click Translate .

    SHARED Tip Use SHIFT+ or CTRL+ key combinations to select multiple source files.

  15. On the Translate Source File Dialog, type a name and location for the Smart Model.

  16. If you used custom mapping, set the Mapping Options to Custom and select the Mapping Files Location of the customSPRDirectToR3DMapping.xls you edited.

  17. Click Translate.
    -OR-
    To schedule the translation for a later time, click Schedule to open the Schedule Translate Dialog.

  18. Open the Smart Models you created in the Intergraph target applications:

  19. If you selected a non-Intergraph format target, open the model format file using your preferred third-party reader. For example, if you selected the Industry Foundation Classes (IFC) format target, use your own IFC reader to review the resulting Smart Model .ifc file.