ansys.mapdl.core.Mapdl.tspec#

Mapdl.tspec(tcolor='', tsize='', txthic='', pangle='', iangle='', **kwargs)#

Creates annotation text attributes (GUI).

Mechanical APDL Command: /TSPEC

Parameters:
tcolorint or str

Text color (0 equationnotavailable TCOLOR equationnotavailable 15):

  • 0 - Black.

  • 1 - Red-Magenta.

  • 2 - Magenta.

  • 3 - Blue-Magenta.

  • 4 - Blue.

  • 5 - Cyan-Blue.

  • 6 - Cyan.

  • 7 - Green-Cyan.

  • 8 - Green.

  • 9 - Yellow-Green.

  • 10 - Yellow.

  • 11 - Orange.

  • 12 - Red.

  • 13 - Dark Gray.

  • 14 - Light Gray.

  • 15 - White.

tsizestr

Text size factor.

txthicint or str

Text thickness key:

  • 1 - normal.

  • 2 - twice as thick.

  • 3 - three times as thick.

  • 4 - four times as thick.

panglestr

Text path angle (0.0 < angle < 360.0).

ianglestr

Text italic angle (0.0 < angle < 45.0).

Notes

This command defines annotation text attributes to control certain characteristics of the text created via tlabel. This command is generated by the Graphical User Interface (GUI) and appears in the log file ( Jobname.LOG ) if annotation is used.

The command is not intended to be typed in directly in a Mechanical APDL session (although it can be included in an input file for batch input or for use with input ).

This command is valid in any processor.