SolidedgeFormat Codes To Modify Reference and Property Text Output
SolidedgeFormat Codes To Modify Reference and Property Text Output
Note You can type the /ST format code to specify superscript and subscript formatting for plain text or numbers. Refer to
the example in the following table. You cannot apply superscript and subscript using the dialog box.
Format codes
Format code /CP Custom file property To display a user-defined Document AB (approved)
%{Title}:
Syntax %{CustomPropertyName/CP} Fetches the current value and
type for any user-defined %{Title/CP}
properties specified on the
Custom page of the File
Properties dialog box. This
value overrides any previously
defined value in Solid Edge.
1
Solid Edge 2021 Designfusion
Format codes
Bi-Weekly,
5 shift_cap.par Monthly,
Weekly
Format code /EV Exposed variable To display the precise value 150.345 mm
(with delimiter) for the height
Syntax %{VariableTableExposedName/EV} Fetches the real value of a of a part:
variable exposed in the Variable
Table. %{Height/EV}=
Syntax %{CustomMaterialName/CM} Fetches the current value from Note |GP =The source of the
any user-defined material property text value.
property that you add to the Select Property Text
Material Properties tab in the dialog box.
Solid Edge Material Table.
2
Solid Edge 2021 Designfusion
Format codes
Syntax %{propertyName/@DateTimeForma Some year, month, day format Date and time format of
t|link} options are: property text.
YYYY→2010
yy→10
MMMM→March
MM→03
dddd→Monday
ddd→Mon
dd→date (1–31)
/STSuperscript^Subscript Applies Superscript and Plain numbers
Subscript format to plain text %{/ST1^2}
3
Solid Edge 2021 Designfusion
Format codes
Example /ST used to format plain text. or numbers typed in either or Plain text
both of these fields. %{/STYes^No}
%{File name/TC1}
4
Solid Edge 2021 Designfusion
Format codes
%{File name/TC4}
Note: If the option you want is not available in this dialog box, such as superscript and subscript, then you can add it by
typing the format codes directly into the property text string. See the help topic, Format codes to modify reference and
property text output.
Input value
Displays the input property text string at the cursor position when you selected the Format button.
Units
5
Solid Edge 2021 Designfusion
The check box preceding each of the following options turns the formatting on and off. You can predefine
formatting, and then apply it when you need it using the check box.
No units (/NU)
Displays a value but no units.
Example:
2712.000
Text
6
Solid Edge 2021 Designfusion
The check boxes preceding each of the following options turns the formatting on and off. You can predefine
formatting, and then apply it when you need it using the check box.
Round-off (/@n)
Specifies the number of decimal places for the value.
Example:
Date-time (/@)
Specifies the format of property text that resolves to date and time, such as the Created and Modified
properties.
Example:
The year, month, day, and time format options are shown in the following table.
M/d/yyyy 1/1/2015
7
Solid Edge 2021 Designfusion
M/d/yy 1/1/15
yyyy-MM-dd 2015-01-01
d-MMM-yy 1-Jan-15
M.d.yyyy 1.1.2015
MMM. d, yy Jan. 1, 15
MMMM yy January 15
MMM-yy Jan-15
8
Solid Edge 2021 Designfusion
h:mm tt 1:01 AM
h:mm:ss tt 1:01:01 AM
HH:mm 01:01
HH:mm:ss 01:01:01
For a complete list of format options that you can enter manually, see Date and time format of property text.
9
Solid Edge 2021 Designfusion
Text case
The text case codes specify a predefined capitalization format.
10
Solid Edge 2021 Designfusion
Tolerance
The check box turns the stack or limit tolerance formatting on and off. You can predefine formatting, and then apply
it when you need it using the check box.
Stack (/ST)
Displays the stack tolerance values entered in the Upper and Lower boxes.
11
Solid Edge 2021 Designfusion
Limit (/LT)
Specifies that limit tolerance is calculated. The positive or negative numbers in the Upper and Lower boxes
are added or subtracted from the property text value before they are displayed.
Text height is defined by the active dimension style.
Upper and lower limit If Nominal HS=12.12, and Upper=+.05 and Lower=+.01,
then
Upper
Lower
12
Solid Edge 2021 Designfusion
Reset
Resets the input and output values to the original property text string. You can use this option when you
want to restore the Format Values dialog box to its initial settings.
Clear
Clears all formatting applied to the Output value, and sets all formatting options to blank.
Output value
Displays the input property text string with the value format codes appended to it.
When you are modifying an annotation, the formatting is updated and displayed when you close this dialog
box. When you are modifying the format of property text strings in a table data cell, the changes appear
when you click Apply.
13