1.7.3.4. Naming rule for CAD file names

The naming rule for the CAD file name is very meaningful in the ERP functionality.

The naming rule is defined in PARTlinkManager in the Extras menu -> Configure ERP environment -> tabbed page Standard name (rule).

[Note]Note

The Standard name tabbed page can also be found in the PARTadmin module. There a role-specific naming rule can be defined which is not really reasonable!

A very useful rule is the following:

IF ('$ERP_PDM_NUMBER.'.EQ.'')THEN
NB = '$NB.'
ELSE
NB = '$ERP_PDM_NUMBER._$NB'
ENDIF

In case no ERP_PDM_NUMBER exists the standard NB is used, otherwise the ERP_PDM_NUMBER + NB.

Via the ERP_PDM_NUMBER uniqueness is guaranteed, the standard description provides a meaningful part in the file name.

The standard description is shown in the title of the 3-D display in the PARTdataManager.

To define the Standard name and thus the CAD file name you can use IF conditions, Fortran syntax, constants and ERP variables (launch with '$Variablenname.') to create names:

Fortran syntax :

.EQ.

eq ual

.GT.

g reater t hen

.GE.

g reater e qual

.LT.

l ower t hen

.LE.

l ower e qual

.AND.

(both conditions - right and left of .AND. - must be filled)

.OR.

(one of both conditions - right and/or left of .OR. - must be filled)

.NE.

n ot e qual

Constants

Meaning

CURRENT_DATE

Current date

CADENAS_LANGUAGE

Current language

PROJECT_VERSION

Project version

VALUERANGES

Values of all value range variables

VALUERANGESWITHNAME

Values of all value range variables with name

CHANGEABLEVALUES

Values of all value range variables that can be changed by the user, i.e. are not locked (see common.cfg - LockDimRange=0/1)

CHANGEABLEVALUESWITHNAME

Changeable values with name

CATALOG_NAME

Name of catalog

CATALOG_DESC

Visible name of catalog (in current language)

SHORTNB

Short standard description

CADSYSTEMNAME

Name of the registered CAD system (if more than one are registered, separate by comma)

CALCED_ROW

The row number currently being calculated

NB

Standard description

LINA

BOM-list description

NENN

For DIN 912 z.B. $d.x$L. (only for standard parts, not catalogs)

Any ERP field

Activate as all constants via $xy.