Translate CADWorx source files - 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

Smart Interop Publisher translates CADWorx Equipment and CADWorx Plant Professional .dwg files so that each property label display is converted to a standard one for all target applications.

Smart Review can open the .vue file exported from CADWorx 2015 SP1 directly without requiring translation from Smart Interop Publisher.

Requirements and Considerations

  • If your .dwg files contain proxy objects:

    • Install the CADWorx Plant Object Enabler to view CADWorx Plant components stored in an AutoCAD drawing (.dwg) file. You can install the utility from the PPM Smart Community. Go to Downloads > CADWorx Plant > Freeware Tools and Utilities to get the latest version.

    • Install and activate MicroStation V8i SS3, and then install RealDWG 2013 SP1 so that proxy objects contained in the files get translated. For normal AutoCAD entities, the presence of MicroStation does not make any difference. However, if the file contains at least one proxy object and MicroStation V8i is installed, translation is done using MicroStation.

  • To support translation and custom mapping, the .drv file exported by CADWorx must be located in the same folder as the exported .vue and .mdb2 files during translation.

CADWorx Attributes

If the AutoCAD project (.dwg) files contain attributes of CADWorx data, then those attributes are also translated into .drv files. The example below shows how CADWorx attributes are translated into .drv files:

App Name: CPD1
Alpha size: 2"
Short annotation: RF LWN
Long annotation: LONG WELD NECK, RF 150LB, A182-F316L
Line number: 2"-150SS--
Code: PTN-017.0008
Tag: tagvalue
Length: 9.00000
Weight: 16.00000

Thickness: 0.00000

Object Type: Cross Socket Weld
Sort sequence: 33

For the Piping discipline, the following CADWorx attributes of the pipe component are translated:

  • App Name

  • Alpha Size

  • Short annotation

  • Long annotation

  • Line number

  • Code

  • Tag

  • Length

  • Weight

  • Thickness

  • Object Type

  • Sort sequence

For the Steel discipline, the following CADWorx attributes of the steel component are translated:

  • Application Name

  • Object Type

  • Part Type

  • Data file

  • Member

  • Short annotation

  • Long annotation

  • Description

  • Material

  • Part number

  • Length

  • Weight

For the HVAC discipline, the following CADWorx attributes of the HVAC component are translated:

  • App Name

  • Long annotation

  • Part number

  • Tag

  • Object Type

  • Weight

  • A

  • B

  • C

  • D

  • E

  • F

  • G

  • H

  • J

  • K

  • Thickness

  • For the Equipment discipline, the following CADWorx attributes of the equipment component are translated:

  • Application Name

  • Object Type

  • Equipment Name

  • Description

  • Flange Rating

  • Nozzle Diameter

The Object Type property is published by reading program codes from the ProgramCodeMapping.xls file delivered with Smart Interop Publisher.

  • For Piping, the Object Type default value is GenericPiping.

  • For Equipment, the Object Type default value is GenericEquipment.

  • For Steel, the Object Type default value is LinearMember.

For HVAC, the program code and Draw mode properties are combined and output as the Object Type. The first part is the Program Code, and then Duct or Tray is added, depending on the Draw Mode value. If the Draw Mode is zero (0) or 1, it is Duct. For Draw Mode 2 or 3, it is Tray. The default values are GenericDucting or GenericTray.

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 customCADWorxToR3DMapping.xls mapping template files. You can skip this section and use the default mapping provided with Smart Interop Publisher.

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

  2. In the CustomMappingFiles folder, make a copy of the customCADWorxToR3DMapping.xls file and place it in another location.

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

    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. Save the edited mapping spreadsheet file in the Microsoft Excel 97-2003 Workbook (.xls) format. See Edit the custom mapping template file. Also make sure you have the exported .drv file in the same location as the .vue and .mdb2 files for custom mapping during translation.

    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 the custom mapping file. See Set the units of measure (UoM) in custom mapping.

  5. 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. Click Save to save your changes and close the Project Settings Dialog.

  8. (Optional) Right-click the project, and then select the Translation Settings Command.

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

  10. For CADWorx files, use the AutoCAD Options to set the working units and scaling.

    See AutoCAD options.

    You can create different translation settings groups to accommodate different settings for your CADWorx source files.

  11. Click Save when you have finished defining translation settings.

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

  13. On the Source Files Grid, click Add , and then select the CADWorx .dwg or .vue files to translate. For .vue files, you must have the associated .drv file in the same folder when translating.

    The added file displays in the Source Files 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. Select the Settings Group you defined earlier, or use the Default group.

  17. If you used custom mapping, set the Mapping Options to Custom and select the Mapping Files Location of the custom mapping files you edited.

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

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

  20. 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.