powered by CADENAS

Manual

Manual

16.2.3. Constants

Constants

Meaning

   

$CURRENT_DATE.

Current date

$CADENAS_LANGUAGE.

Current language

$PROJECT_VERSION.

Project version

$VALUERANGES.

Values of all value ranges

$VALUERANGESWITHNAME.

Values of all value range variables with names of the variables

$CHANGEABLEVALUES.

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

$CHANGEABLEVALUESWITHNAME.

Changeable value range with name

$CATALOG_NAME.

Name of catalog

$CATALOG_DESC.

Visible name of catalog (in current language)

$SHORTNB.

Short standard description

$CADSYSTEMNAME.

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

$CALCED_ROW.

Row number currently being calculated

$NB.

Standard name

$LINA.

BOM name

$NENN.

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

$NORM_NUMBER.

Standard number of a part

Located in the tab file; can be seen in PARTdesigner -> Identification specifications or in index tree

$NORM_TITLE.

Standard title of a part

Located in the tab file; can be seen in PARTdesigner -> Identification specifications or in index tree

$MATERIAL_NAME.

Material (internal name) from material dialog during export (see PARTdataManager -> Extras -> Settings -> Register PARTdataManager -> Choose material on export; may be turned on/off)

(Attention: For ERP functionality content, additional column needed)

$MATERIAL_DESC.

Description text for material

(Attention: For ERP functionality content, additional column needed)

$VARNAME.

Variable name

(For example, in PARTadmin and PARTlinkManager in the ERP settings for the declaration of a standard name or in PARTdesigner, PARTproject in the row description)

Syntax for the variable description is:

$VARNAME(SRC=VARDESC).

Syntax for the value description is:

$VARNAME(SRC=VALDESC).

Syntax for the unit is:

$VARNAME(SRC=VARUNIT).

In addition, you can state the language optionally:

$VARNAME(SRC=VARDESC;LANGUAGE=german).

$VARDESC.

Variable description

$VALDESC. Variable's value description
$VARVALUE. Variable value
$LISTOFCOLUMNS.

Display of list with variable values of current row. The format of the display may be influenced.

Example:

$LISTOFCOLUMNS(COLTYPE=ALL;EXCLUDE=D,L;
VALUE=$VARNAME.=$VARVALUE.)
  
COLTYPE     
ALL         All Variables
VISIBLE     All visible variables
ERP         All ERP variables

  
EXCLUDE     List of variables, which shall not be displayed
INCLUDE     List of variables, which shall be displayed
            in addtion to the ones specified by COLTYPE
VALUE       specifies how variable data
            shall be displayed
            The following placeholders
            can be used
$VARNAME.   Variable name
$VARDESC.   Variable description
$VALDESC.   Variable's value description
$VARVALUE.  Variable value

CURRENTVARSET

Used in order to uniquely identify a row.

The variable CURRENTVARSET contains current values of all variables. It can be used to transfer parameters to a website, for example.

The variable CURRENTVARSET can be specified by different type declarations.

Example:

$CURRENTVARSET(type=ERP_VARSET,MAXLENGTH=4000)

Possible types are:

  • COMPLETE

  • ERP_VARSET

  • ERP_COMPLETE

  • ERP_UPDATE

  • SHORT (compact varset, sufficient to find a row)

  • XVARSET (only value ranges)

The types ERP_* and SHORT support the "MAXLENGTH" parameter in addition.

The types ERP_* support a parameter PINDIMVARS (value range 0/1). PINDIMVARS controls, whether dimensioning variables shall be included in the varset, which is not the case by default.

Any ERP field

Address via $xy. as with all constants