'Element_indication' contains the name of a label in the files dxfselect.cmd and dxfselectplo.cmd or a so-called "Layer control" name.

The files dxfselect.cmd and dxfselectplo.cmd are located in the %ncghelps%\dxf directory and with each label in these files, specific elements in a CADMATIC Hull drawing will be selected. In some cases, the selection criteria overlap one another, and thus the order of sequence in which the <file name>.dat file is structured is important. Once an element has been selected it is not possible to include it in a different selection. For example, if all plates have been selected first by the label PLATES, it is not possible anymore to subsequently select hidden plates with the help of the label HIDDENPLATES or plates in plan view with the label PLANPLATES.

The user is permitted to add extra labels or to change the selection criteria in the dxfselect.cmd and dxfselectplo.cmd files.

The dxfselectplo.cmd file is used when a ".plo" (plot file) is exported. The consequence of choosing a ".plo" file is that there is no attribute information available for the drawing elements. Therefore, this attribute information cannot be used for selection purposes.

For instance: there is no difference between plates, brackets, and shell frames in a ".plo" file. If, under a label in dxfselect.cmd, elements are selected that cannot be selected due to missing attribute information in the ".plo" file, the following line should be included in the file dxfselectplo.cmd under the same label:

Selectable=0

Note: Both files (dxfselect.cmd and dxfselectplo.cmd) must contain the same labels

In case there are more than 131 different Element_indications (labels) needed for a specific spec_name setting the following lines can be added at the top of the %ncghelps%\dxf\dxfselect.cmd file:

do lb1\dxfspecname('^spec_name')

NupasLaverVer=<version>

exit

and at the top of the file dxfselectplo.cmd:

do lb1\dxfspecname('plo^spec_name')

NupasLaverVer=<version>

exit

The files %ncghelps%\dxf\<spec_name>.cmd and %ncghelps%\dxf\plo<spec_name>.cmd must only contain selection labels in the same way as in the dxfselect.cmd and dxfselectplo.cmd files.

First the dxfselect or the dxfselectplo macro is used to search for a Element_indication. If it does not exists then the macro <spec_name>.cmd or plo<spec_name>.cmd is executed. So, this macro should not contain the same label names of Element_indications as in dxfselect.cmd and dxfselectplo.cmd.

If another name than the spec_name value is necessary, then this name can be inserted in the do line instead of spec_name. E.g. :

do lb1\dxfspecname('special_name')  

and then the file %ncghelps%\dxf\special_name.cmd must exist and it is executed when the Element_indication label does not exists in %ncghelps%\dxf\dxfselect.cmd file.

2D items can be organised with "Layer control". These "Layer control" names can be used to specify the AutoCAD layers. This is done by using these "Layer control" names as an 'Element_indication'. In this case a special label definition in the dxfselect.cmd and dxfselectplo.cmd files is not necessary.

In this case the setting NupasLayerCtr must be set to True in order to get correct "Layer control" identifications for all elements in a 2D or Plantek sub-model when the model is expanded.