Name Definition Statement
- Last UpdatedNov 28, 2025
- 3 minute read
The Name Definition statements define how the part names should be built up for a certain part type on a certain level of naming. One statement must be given for each part type and for each level, for which the part naming facility will be invoked.
Syntax:
|
<part_type> [, <proftype>] /LEVEL = <level_name> |
||
|
<part_type> |
is the type of part for which the current statement should be valid. The following part types are currently supported.
HGEN is special in the case that it takes one parameter which is a functional description (HGEN, <func_descr>) where <func_descr> is an existing functional description code. If a component has the code defined, then HGEN will be the first priority rule. |
|
|
<proftype> |
This is available for the profile part types (HPPR, HSPR and HBPR). If given, the given profile type will get the name for this rule instead of the given profile rule. The default rule will be the rule where no <proftype> is give. <proftype> is one of the Hull Standard Profile types and should be given as a string. |
|
|
LEVEL |
specifies the level (cf. above). A used level name must have been specified in a LEVEL statement. |
|
|
<constituent> |
specifies the part dependent item that should be used as a "brick" in building up the part name. The following options are available and any combination of them can be used. |
|
|
/PROJ |
Use the project name. |
|
|
/ASS= <ass_level number> |
||
|
An assembly name is built up by the complete path name with the names of the "nodes" of the assembly tree concatenated with a certain delimiter in-between. <ass_level number> is an integer number referring to the corresponding "node" number in the path name. >0: To be counted from the top <0: To be counted from the bottom The name of the indicated node will be used for the part name. (If no node with the given number is found in the assembly name it will be replaced by an empty string.) |
||
|
/ASSLEVEL=<assembly type> |
||
|
Use the name of the assembly on the level in hierarchy of given assembly type (Compared to /ASS the "absolute" level is used instead of the relative level). that means, The assembly type is a type specified as a User Defined Element Type (UDET) defined via the Lexicon module, here given without the usual prefix ":". that means, it is looking for an assembly in the parent structure of specified type and using the name of that assembly as result. |
||
|
/BLOCK |
Use the block name |
|
|
/SBLOCK |
As /BLOCK but remove ship letters |
|
|
/POS |
Use the position (piece) number of the part |
|
|
/ZPOS |
Use the position number of the part but skip it together with its preceding delimiter if it equals 0. |
|
|
/BPOS |
Relevant only for profiles on brackets. |
|
|
When given it means that the position number of the bracket should be used. |
||
|
/LPOS |
Relevant only for profiles on brackets. |
|
|
Use the number of the profile within the bracket and convert that into a letter. (1 --> A, 2 --> B, ). The profile number must not exceed 25 in this case. |
||
|
/SYM |
For a part that is used on portside, starboard and in/over CL, resp., an indication about this should be added to the part name. (Cf. the SYMMETRY statement above.) |
|
|
/BUILT |
To be used only for built profiles when different parts names are required for the web and flange, treated as individual parts. (Cf. the BUILT_PROFILE Statement above). |
|
|
/DWG |
Use the name of the drawing to which the part belongs. In the Hull system it is defined in the generation phase (DWG=...). Available only for backwards compatibility reasons. |
|
|
/LOC |
Use the location code, defined in the generation phase (MAR=...). Available only for backwards compatibility reasons. |
|
|
/GPS1 |
Use the strings assigned to the keywords AS1, AS2, AS3 and AS4 respectively, in the modelling of hull items |
|
|
<delimiter> |
Defines a fixed string as the delimiter between constituents. |
|
|
<delimiter>::= (/DEL | /ZDEL) =<string> <string> is an arbitrary string, restricted to eight characters. The difference between /DEL and /ZDEL is that the delimiter should be skipped if the constituent following it is an empty string. |
||
Note: Any combination of constituents and delimiters can be used. If two constituents are given without any delimiter in between an empty delimiter will be created automatically by the part name facility.