ansys.mapdl.core.Mapdl.cformat#
- Mapdl.cformat(nfirst='', nlast='', **kwargs)#
Controls the graphical display of alphanumeric character strings for parameters, components, assemblies, and tables.
Mechanical APDL Command: /CFORMAT
- Parameters:
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 andNLAST
= 0, only theNFIRST
characters are displayed, followed by an ellipsis.If
NFIRST
= 0 andNLAST
is greater than zero, only theNLAST
characters are displayed, preceded by an ellipsis (…).If both
NFIRST
andNLAST
are greater than zero, the name will be shown asNFIRST
, followed by an ellipsis (…), followed byNLAST
, up to a maximum of 32 characters.For example, if
NFIRST
= 6 andNLAST
= 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.