PlantWise Help

Merge File Format

Primarily, merge files are created during a model compare (see Comparing Models ) and it’s contents implemented in a model merge. However, you may use an externally created merge file to import a collection of object renames or deletions. Each element change is specified on a separate line in the merge file (.mrg).

The general form of a merge file is:
(:SCRIPT NIL (<merge-command>*))
Each object to be renamed is formatted as follows:
(dpar-rename-pmb-object "<current component name>"
		"<new component name>")
Different objects have different delete commands:
  • Equipment
    (DPAR-GUI-EQ-DELETE "<equipment name>")
  • Nozzles
    (DPAR-GUI-NOZ-DELETE "<equipment name" "<nozzle name>")
  • Pipelines and cables
    (DPAR-GUI-PIPELINE-DELETE "<pipeline name | cable name>")
  • Boundary Components
    (DPAR-GUI-BOUNDARY-DELETE "<boundary component name>")
  • Named Inlines
    (DPAR-GUI-NAMED-INLINE-DELETE "<inline name>")
  • Connectivity
    (DPAR-GUI-REMOVE-CONNECTIVITY "<pipeline name>")
  • Obstacles
    (DPAR-MS-DELETE-OTHER-OBSTACLE "<obstacle name>")
  • Structure Sections
    (DPAR-MS-DELETE-PEDESTAL-SECTION "<structure name>"
       "<section name>")
  • Pipeway Sections
    (DPAR-MS-PIPEWAY-SECTION-DELETE "<pipeway name>"
       <pipeway section number>)
  • Structure Pipeway Sections
    (CPR-GUI-PIPEWAY-SECTION-DELETE "<structure pipeway name>"
       <structure pipeway section number>)
  • Vertical Pipeway Sections
    (CPR-GUI-VERT-PW-DELETE-SECTION "<vertical pipeway name>"
       "<vertical pipeway section number>")
  • Vertical Chases
    (DPAR-RI-VERT-CHASE-DELETE "<structure name>"
       "<structure section name>" "<vertical chase name>")
  • Floor Penetrations
    (DPAR-GUI-DELETE-INT-DROP-ZONE "<structure name>"
       "<structure section name>" <structure floor number>
        "<floor penetration name>")
PlantWise components that are not user named, such as Independent Structural Members, should not be removed from a model via a merge file.