Mapdl.cswpla(kcn='', kcs='', par1='', par2='', **kwargs)#

Defines a local coordinate system at the origin of the working plane.



Arbitrary reference number assigned to this coordinate system. Must be greater than 10. A coordinate system previously defined with this number will be redefined.


Coordinate system type:

0 or CART - Cartesian

1 or CYLIN - Cylindrical (circular or elliptical)

2 or SPHE - Spherical (or spheroidal)

3 or TORO - Toroidal


Used for elliptical, spheroidal, or toroidal systems. If KCS = 1 or 2, PAR1 is the ratio of the ellipse Y-axis radius to X-axis radius (defaults to 1.0 (circle)). If KCS = 3, PAR1 is the major radius of the torus.


Used for spheroidal systems. If KCS = 2, PAR2 = ratio of ellipse Z-axis radius to X-axis radius (defaults to 1.0 (circle)).


Defines and activates a local right-handed coordinate system centered at the origin of the working plane. The coordinate system’s local x-y plane (for a Cartesian system) or R-θ plane (for a cylindrical or spherical system) corresponds to the working plane. This local system becomes the active coordinate system. See the CS, LOCAL, CLOCAL, and CSKP commands for alternate ways to define a local coordinate system. Local coordinate systems may be displayed with the /PSYMB command.

This command is valid in any processor.