CASE Statement
- Last UpdatedDec 04, 2025
- 1 minute read
Syntax
|
CASE, |
<name> |
|
<part_group> |
|
|
<part_group> |
|
|
... |
|
|
... |
|
|
; |
|
|
<name> |
The name of the case. |
|
<part_group> ::= [<criteria>] |
|
|
/START=<sno> |
|
|
/MAX =<last_no> |
|
|
/<part_type> /<part_type> / ... |
|
|
; |
|
Thus, the part group specifies the types of parts for which its contents should be applied, the number interval in which the position numbers should be set (between START and MAX) and the criteria according to which the part should be sorted before being compared)
<criteria>::= /GEO | /MAT_ASC | /MAT_DESCR
/GEO means sorting as specified in the SORT statement above,
/MAT_ASC means sorting by material quality in ascending quality,
/MAT_DES ditto descending.
If no criteria are specified no special sorting is done (apart from that based on the physical parameters of the parts).
The part types are the same as those in the BUNDLE statement with one rather specific addition:
<part_type>::= /MAX_BRA_AREA=<bkt_size>
<bkt_size> can be given as one "number string" (for example, '6000') or as "arm size" (for example, '300*200'). Only brackets whose size exceeds the given limits will be considered
Note: Position numbers will bet set only for the part types occurring in any of the part groups.
A special <part_type>, PROF_TO_PLDB, can also be given for a <part_group>. This <part_group> may however not have more <part_types>. If given stiffeners, flanges, pillars and bracket profiles fulfilling special criteria will be treated by its own. See Hull, Setup and customization, Setup for Production, Conversion of Properties to Plates.