ansys.mapdl.core.Mapdl.polygon#

Mapdl.polygon(nvert='', x1='', y1='', x2='', y2='', x3='', y3='', x4='', y4='', **kwargs)#

Creates annotation polygons (GUI).

Mechanical APDL Command: /POLYGON

Parameters:
nvertstr

Number of vertices of polygon (3 equationnotavailable NVERT equationnotavailable 8). Use pmore for polygons with more than 4 vertices.

x1str

X location for vertex 1 of polygon (-1.0 < X < 2.0).

y1str

Y location for vertex 1 of polygon (-1.0 < Y < 1.0).

x2str

X location for vertex 2 of polygon (-1.0 < X < 2.0).

y2str

Y location for vertex 2 of polygon (-1.0 < Y < 1.0).

x3str

X location for vertex 3 of polygon (-1.0 < X < 2.0).

y3str

Y location for vertex 3 of polygon (-1.0 < Y < 1.0).

x4str

X location for vertex 4 of polygon (-1.0 < X < 2.0).

y4str

Y location for vertex 4 of polygon (-1.0 < Y < 1.0).

Notes

Creates annotation polygons to be written directly onto the display at a specified location. This is a command generated by the Graphical User Interface (GUI) and will appear 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 ).

All polygons are shown on subsequent displays unless the annotation is turned off or deleted. Issue lspec and slashpspec to set the attributes of the polygon. Issue pmore to define the 5th through 8th vertices of the polygon.

This command is valid in any processor.