SMARTHolechart > Configuring SMARTHolechart > About Using Wildcards
About Using Wildcards
You can use wildcards in the ways described below:
In the column Format in the table format configuration,
In the NC headline
In the NC repeat region
In the NC blockend
In the USER row
System Wildcards
<NR>
Hole note string. Define the value for this wildcard using the option NOTE_FORMAT.
<DIR>
Hole direction.
<DIR_SIGN>
Algebraic sign of the direction.
<-DIR_SIGN>
Inverse algebraic sign of the direction.
<TYPE>
Hole type. See also Configuring Hole Types.
<X>
X position of the hole origin.
<Y>
Y position of the hole origin.
<Z>
Z position of the hole origin.
<X_VEC>
The x direction of the normalized direction vector.
<Y_VEC>
The y direction of the normalized direction vector.
<Z_VEC>
The z direction of the normalized direction vector.
<X_ANG>
The angle between the coordinate system X axis and the hole axis.
<Y_ANG>
The angle between the coordinate system Y axis and the hole axis.
<Z_ANG>
The angle between the coordinate system Z axis and the hole axis.
<X_ANG_UDF>
The angle between the coordinate system X axis and orientation of the UDF.
<Y_ANG_UDF>
The angle between the coordinate system Y axis and orientation of the UDF.
<Z_ANG_UDF>
The angle between the coordinate system Z axis and orientation of the UDF.
<RADIUS>
Polar coordinates:
Outputs of the radial coordinate (radius).
<ANGLE>
Polar coordinates:
Outputs of the polar angle (azimuth).
<USER>
The result of the string defined in the hole type definition under USER.
<IDX>
The index in the table. This is only for table output.
<KENR>
The feature number
<KEID>
The feature ID
<KENAME>
The name of the feature.
<LINENUMBER>
Insert the number of the current line. This is only for NC output.
<BLOCKNUMBER>
Insert the number of the current block. Only for NC output.
<\n>
Insert a line break. This is only for NC output.
Dimension Wildcards
You can use any dimension symbol defined in the type definition. Enter the symbol name in angle brackets. For example, if the hole diameter has the symbol DM1, use the <DM1> wildcard.
Parameter Wildcards
You can use the value of any defined hole parameter. Enter the name of the parameter in angle brackets. For example, use the <FORM> wildcard if the parameter name is FORM.
Formatting and Special Values
You can format each output individually. To define the number of digits, see the list below. For some wildcards, special values are available.
To set the number digits, type a semicolon after the name and then type a number. Under Possible values, the following are listed:
<NAME>
<NAME;3>
<NAME;-3>
<NAME;(3)>
<NAME;(-3)>
<NAME;ALL>
<NAME;-ALL>
If you do not use a semicolon, the digits are taken from the configuration option DIGITS.
If you add a hyphen (–) in front of the number, the leading zero is removed. This is used, for example, for tolerances.
Use (x) brackets to use the digits from the dimension. If no dimension is found use x digits.
Use ALL to output all existing digits.
A special value for dimensions and parameters is listed in the table below:
Formatting
Example and Description
<NAME#'SIGN'#NAME2;x>
Two values separated with the SIGN.
Special values for dimensions are listed in the table below:
Formatting
Example and Description
<NAME#TOL>
H7
JS8
<NAME#TOLLIM>
<NAME#TOLLIM;x>
<D#TOLLIM> = H7 +0.02/0.00 ( DIGITS = 2)
<D#TOLLIM;-3> = H7 +.002/.000
<D#TOLLIM;-ALL> = JS8 +.0011/-.0011
<NAME#TOL(LIM)>
<NAME#TOL(LIM);x>
<D#TOL(LIM)> = H7 (+0.02/0.00) ( DIGITS = 2)
<D#TOL(LIM);-3> = H7 (+.002/.000)
<D#TOL(LIM);-ALL> = JS8 (+.0011/-.0011)
<NAME#TOLSYMLIM>
<NAME#TOLSYMLIM;x>
<D#TOLSYMLIM> = H7 +0.02/0.00 ( DIGITS = 2)
<D#TOLSYMLIM;-3> = H7 +.002/.000
<D#TOLSYMLIM;-ALL> = JS8 ±.0011
<NAME#TOL(SYMLIM)>
<NAME#TOL(SYMLIM);x>
<D#TOL(SYMLIM)> = H7 (+0.02/0.00) ( DIGITS = 2)
<D#TOL(SYMLIM);-3> = H7 (+.002/.000)
<D#TOL(SYMLIM);-ALL> = JS8 (±.0011)
<NAME#LIM>
<NAME#LIM;x>
<D#LIM> = +0.02/0.00 ( DIGITS = 2)
<D#LIM;-3> = +.002/-.000
<D#LIM;-ALL> = +.0011/-.0011
<NAME#(LIM)>
<NAME#(LIM);x>
<D#(LIM)> = (+0.02/0.00) ( DIGITS = 2)
<D#(LIM);-3> = (+.002/.000)
<D#(LIM);-ALL> =(+.0011/-.0011)
<NAME#SYMLIM>
<<NAME#SYMLIM;x>
<D#SYMLIM> = +0.02/0.00 ( DIGITS = 2)
<D#SYMLIM;-3> = +.002/.000
<D#SYMLIM;-ALL> = ±.0011
<NAME#(SYMLIM)>
<NAME#(SYMLIM);x>
<D#TOL(SYMLIM)> = (+0.02/0.00) ( DIGITS = 2)
<D#TOL(SYMLIM);-3> = (+.002/.000)
<D#TOL(SYMLIM);-ALL> = (±.0011)
<NAME#PREFIX>
Prefix of the dimension if set
<NAME#SUFFIX>
Suffix of the dimension if set
<NAME#GTOL>
Output the geometrical tolerance if assigned to the dimension
<NAME#ABS_DEPTH;x>
Output the absolute depth of this element.
Entry in the NC repeat region:
X<X;2> Y<Y;2> DIAMETER: <DM1;(1)> DEPTH: <T1;1> (<FORM>)
This maybe the result:
X10.15 Y20.00 DIAMETER: 15.0 DEPTH: 5.0 (DIN74KM)
Entry in the column D.
Ø<D;(2)> <D#TOL(SYMLIN);-4>
This maybe the result:
Ø10.00 JS8 (±.0011)
Ø10.000 H7 (+.0020/0.0000) — If the digits of the diameter are set to 3.
Ø8.50 — No tolerance is set to the diameter