Copy properties between a replaced component and a replacement component - Intergraph Smart Construction - Hotfix 11 - Customization & Programming - Hexagon

Intergraph Smart Construction Customization

Language
English
Product
Intergraph Smart Construction
Search by Category
Customization & Programming
Smart Construction Version
8

If you are working in an environment where engineering data is edited by fabrication, you can map properties to be copied to the components retrieved into Smart Construction.

You can copy properties from the replaced property to the replacement property (for example, from an engineering drawing to a fabrication drawing).

For example, you work on a project where your engineering data is published with a robust set of properties. Fabrication modifies a few spool drawings, but the isometric tool used for modification, such as SmartPlant Spoolgen, does not publish the full set of engineering data properties, so you might be missing some properties that the engineering drawings originally had. You can use the SPCRetrieveMappings.xlsm workbook to copy properties from the engineering drawing components to the fabrication drawing components.

  1. Check out and open the SPCRetrieveMappings.xlsm workbook.

  2. Open the tool-specific tab.

  3. In the EFInterface column of the component row, type Replacement.2.

    Replacement.2 indicates that the property is to be copied from the replaced component to the replacement item. For example, the component property is copied from engineering to fabrication.

  4. Save changes to the SPCRetrieveMappings.xlsm workbook.

  5. Select the Main tab of the worksheet.

  6. Click Generate Retrieve Mapping to generate a new XML file with the modified mapped properties.

  7. Check in and sign off the file in the SmartPlant Foundation Desktop Client. For more information, see Map properties and generate XML for a SmartPlant Construction retrieve.

  • A property specified in the EFProperty column can be mapped to a different property on the replacement component. For example, the replaced component item could have the property Thickness and the replacement component could be mapped to a new or custom property, for example, OriginalThickness.

  • If a value is set on the target and the source value is empty, the empty value is copied.

  • If multiple components exist on the end of the replacement property and property values might be different, we recommend that you write a custom processor to specify which property is mapped to the component's property. For more information, see Smart Construction Custom Property Processors..

  • If a property is mapped to be copied and a retrieve mapping is also specified for the same property, the first mapping specified is retrieved into Smart Construction.