The Clip Macro Interface
- Last UpdatedDec 02, 2025
- 2 minute read
A clip macro to be integrated in AVEVA Marine must match a specific interface, that means, it must have a predefined set of input and output parameters. The following text describes this interface.
Input Parameters
|
<Name> |
<Description> |
|---|---|
|
VERSION<no> |
(INTEGER) This parameter is special in the sense that it is not used to transfer any data to the macro. Instead the name of the parameter is of importance. The name tells the system what version of the clip macro interface this specific macro matches. In the future there may be minor changes in the clip macro interface such as new input or result parameters. This "version" handling makes it possible for AVEVA Marine to maintain backward compatibility for old clip macros. The current version number is 2, thus this first parameter should be named VERSION2 in newly written macros. |
|
PROFTYPE |
(INTEGER) Type code for the profile, according to Hull Standard. |
|
PROF_PARAM<1-6> |
(DECIMAL) For bulb bars the parameters are used in the following way (both original parameter values and when countered into a "similar" L-bar. (Values in a certain case within apostrophes). |
|
|
|
|
V2 |
(VECTOR_2D) Vector along profile flange. |
|
V3 |
(VECTOR_2D) Vector along contour in the direction of the flange. |
|
V4 |
(VECTOR_2D) Vector along contour in the opposite direction to V3. (in case of a straight plate contour V4 = -V3). |
|
WEB_FACTOR |
(DECIMAL) Scale factor along the web (along the v-axis). This factor will be different from 1.0 only when the profile penetration is not perpendicular to the panel. |
|
FLANGE_FACTOR |
(DECIMAL) The same as "WEB_FACTOR" but for the profile flange. (Scale factor along the vector V2.) |
|
PLATE_THICKNESS |
(DECIMAL) Thickness of the intersected plate. |
|
CLIP_LOC |
(INTEGER) Clip location: 1=clip on the mould side of the profile section 2=clip on the non mould side 3=clip on the top side |
|
CUT_TYPE |
(INTEGER) The cutout type (DECIMAL) User-defined parameter for macro input (DECIMAL) User-defined parameter for macroinput |
|
GAP_M,GAP_N,GAP_T |
(DECIMAL) Gaps between cutout and profile section on mould line side, and on top of profile, see the picture below. Notes: These gap values are available only for cutouts generated according to the External
Cutout definition facility. For other type of cutouts (standard cutouts or cutouts
generated via macro), these parameters are always zero. They can of course, be redefined
inside the macro itself. |
|
C_MEA |
C-measure for cutouts with a "slope". |
|
Figure 9:2. Specification of clearances in cutouts. |
|

