Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ E3D Design

Clash Plotting

  • Last UpdatedJan 23, 2023
  • 5 minute read

Generates drawings of clashing Model items using a special Model Clash Report Macro file, which is generated using the Clash Detection facility available from within the Model module.

Refer to Clash Detection for further information.

The items selected for clashing in Model must be named elements, otherwise clash plotting will produce errors.

The Model Clash Report Macro file required by Draw is generated using a special template file dra-gen-clashtemp, which can be found in the System Defaults folder %AVEVA_DESIGN_DFLTS%. It contains instructions for creating the drawings, which can be modified to suit the your needs;

var !!CDCLANUM |$CLANUM$|

var !!CDCLA1 |$CLA1$|

var !!CDCLA2 |$CLA2$|

var !!CDCLAPOS |$CLAPOS$|

var !!CDCLATEXT |$CLATEXT$|

var !!CDCLAOWN1 |$CLAOWN1$|

var !!CDCLAOWN2 |$CLAOWN2$|

CALLDRG UCLASHPLOT

The instructions are used to extract Clash data and organise it in a format needed by the PML program file UCLASHPLOT, which ultimately creates the drawings. Data is extracted whilst running the Clash Report using special keywords. For example, the Clash Number is extracted using the keyword CLANUM. Because of this, any changes you make to the template file must adhere to the format as defined by the program file.

Normally, the Model Clash Report Macro file is produced using a macro, for example:

-- In the Model module enter the mode DESCLASH

DESCLASH

-- Generate the Clash Data

REM OBST ALL

OVERRIDE ON

OBST /80-B-7

OBST /100-A-15

CHECKADD /EL(+)107820_TOS

-- Generate the clash report macro file for input into DRAW

-- This uses the report defaults file as discussed above

REPORT MACRO /%AVEVA_DESIGN_DFLTS%/DRA-GEN-CLASHTEMP

ALP FILE /%AVEVA_DESIGN_USER%/CLASHES-DRAFT.MAC OVER

OUTPUT

ALP FILE END

REPORT MACRO OFF

-- Leave the mode DESCLASH

EXIT

The resulting Model Clash Report Macro file contains instructions for creating the drawings in Draw.

Example of the data for the first Clash reported by the Model Clash check made:

var !!CDCLANUM |1|

var !!CDCLA1 |PANEL 1 of SBFRAMEWORK /EL(+)107820_TOS_PLATE|

var !!CDCLA2 |leave tube of ELBOW 1 of BRANCH /100-A-15/B1|

var !!CDCLAPOS | W311586 N294516 U107821|

var !!CDCLATEXT |HH PANEL 1 of SBFRAMEWORK /EL(+)107820_TOS_PLATE with leave tube of ELBOW 1 of BRANCH /100-A-15/B1|

var !!CDCLAOWN1 |PANEL 1 of SBFRAMEWORK /EL(+)107820_TOS_PLATE|

var !!CDCLAOWN2 |BRANCH /100-A-15/B1|

CALLDRG UCLASHPLOT

These instructions tell the PML program what data is to be placed on the drawing for each particular field. The data is located on a drawing as defined by a Clash Plot Sheet, an example of which SHEE /DRA/PRJ/TMP/CLASH/A3/S1 is supplied with the product. It is recommended that you copy the owning DRWG of this SHEE element to a suitable location and rename it before using the Clash Plotting utility. The sheet references a Backing Sheet that contains special keywords that takes the Clash Data from the Model Clash Report and displays it on each drawing created using the Model Clash Report.

Example of the supplied backing sheet BACK /DRA/MAS/BACKS/MET/A3_Clash.

The special keywords positioned on the backing sheet match those keywords used to extract the Clash Data during the creation of the Clash Report.

Note:
The Clash Plotting Utility looks for a NOTE element below the BACK named <backing sheet name>/CLASHDATA.

The NOTE contains all of the required Clash Data keywords, the visibility of which must be set to Off to prevent the keywords themselves from appearing on the final drawing.

The keywords available for extracting and placing Clash Data on drawings are:

Keyword

Description

!CLASHEE

The Clash Template Sheet Name

!CLAID

The Clash Run Identification

!CLADATE

The Clash Run Date

!CLAUSER

The User Name

!CLADIR

The Directory where the Plotfiles are created

!CLASUF

The suffix to be used for the Plotfile name

!CLA1

The First Clashing Item

!CLA2

The Second Clashing Item

!CLAPOS

The Clash Position East-North-Up

!CLANUM

The Clash Number

!CLATEXT

The Clash Description (Type, CLA1, CLA2)

!CLAOWN1

The Owner of CLA1

!CLAOWN2

The Owner of CLA2

!CLAPOSE

The Clash Position Easting

!CLAPOSN

The Clash Position Northing

!CLAPOSU

The Clash Position Upping

!CLATYPE

The Clash Type: HH,HS,HI,SS,SH.SI,II,IH,IS,NP

!CLACATE

The Clasg Category: CLA, TOU, CLE

Once you have created the Model Clash Report Macro file in the Model module, you can create the Clash drawing in Draw using the Clash Plotting window.

The Clash Plotting window allows you to define the settings used for the Clash drawing.

Clash Report

Input the clash report macro filename, as specified in DESCLASH, in the field. The file is used by Draw to determine the relevant clash data for each clash in the report.

Clash Sheet

Input the name of the Template Sheet to be used in the field.

Alternatively, Click CE to populate the field with the name of the currently selected SHEE element.

Clash Run ID

Input the title text to be given to the clash plot in the field. The entry must be a single string without any spaces. If the output is to file then the string is also used in the naming of the plot files.

User ID

By default, the field is populated with the ID of the current user.

Date

By default, the field is populated with the current date.

File

Select the option button to store the clash plot as a file.

Printer

Select the option button to print the clash plot file.

File_Printer

Select the option button to store the clash plot as a file and print the clash plot file.

File Directory

Input a location for the plot file, the default is %AVEVA_DESIGN_USER%.

File Suffix

Input a filename suffix for the plot file, the default is .plt.

Create Macro

Allows you to create a batch macro to generate clash plots, input the required macro filename in the field and click Create Macro to create the macro.

Run Live

Click to generate the clash plots in the current session. The clash plots are created within the nominated sheet.

Preview

Click to preview a clash plot. The Clash Plot Preview window displays.

Click or to populate the Clash Ref field, or input a clash number explicitly in the field. Click Preview to update the preview display.

Related Links
TitleResults for “How to create a CRG?”Also Available in