/CFORMAT

/CFORMAT, NFIRST, NLAST
Controls the graphical display of alphanumeric character strings for parameters, components, assemblies, and tables.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

NFIRST

Display the first n characters of the parameter, component, assembly, or table name, up to 32. Defaults to 32.

NLAST

Display the last n characters of the parameter, component, assembly, or table name, up to 32. Defaults to 0.

Notes

Use this command to control the length of the character string that is shown in the graphics window for a parameter, component, assembly, or table name.

The total number of characters (NFIRST + NLAST +3) cannot exceed 32.

If NFIRST is greater than zero and NLAST = 0, only the NFIRST characters are displayed, followed by an ellipsis.

If NFIRST = 0 and NLAST is greater than zero, only the NLAST characters are displayed, preceded by an ellipsis (...).

If both NFIRST and NLAST are greater than zero, the name will be shown as NFIRST, followed by an ellipsis (...), followed by NLAST, up to a maximum of 32 characters.

For example, if NFIRST = 6 and NLAST = 3, and the character string is LENGTHOFSIDEONE, then it will appear in the graphics window as LENGTH...ONE.

If the actual length of the character string is less than the specified combination of NFIRST + NLAST +3, then the actual string will be used.

This command is valid in any processor.

Menu Paths

Utility Menu>PlotCtrls>Style>Size and Shape

Release 18.2 - © ANSYS, Inc. All rights reserved.