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

Hull and Outfitting

Selective Additions to the Id List

  • Last UpdatedNov 26, 2025
  • 1 minute read

The Selection syntax can be used to generate Id Lists. For example:

ADD ALL EQUI FOR /SITE/99

REM ALL BRAN WITH (HBOR LT 25 AND TBOR LT 25) FOR

/ZONE/PIPES

ADD ALL FROM !COLLECTION

where !COLLECTION is a local variable containing a list of Design element references.

In the above examples the Selection criteria are not stored in the database but expanded, and the resulting list of elements stored. This can result in very long Id Lists. You can define criteria, which are stored in the database, and only expanded at the time of an UPDATE Design command using the RULE keyword. For example :

ADD RULE ALL ZONE WITH ( FUNC EQ 'PIPING')

REM RULE ALL BRAN WITH (HBOR LT 25 AND TBOR LT 25)

You must be sure to use the RULE keyword in these cases, otherwise the criterion will be evaluated when the Rule is defined, and very many ADDEs and REMEs may be created.

These forms of the ADD and REMOVE commands set the CRIT attribute of the ADDE and REME elements. The CRIT attribute can also be set directly, for example:

NEW ADDE

CRIT ALL BRAN WITH (PSPE EQ /RF300)

In this case the RULE keyword is not required.

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