Mapdl.lsscale(nl1='', nl2='', ninc='', rx='', ry='', rz='', kinc='', noelem='', imove='', **kwargs)#

Generates a scaled set of lines from a pattern of lines.


nl1, nl2, ninc

Set of lines (NL1 to NL2 in steps of NINC) that defines the pattern to be scaled. NL2 defaults to NL1, NINC defaults to 1. If NL1 = ALL, NL2 and NINC are ignored and the pattern is defined by all selected lines. If NL1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for NL1 (NL2 and NINC are ignored).

rx, ry, rz

Scale factors to be applied to the X, Y, Z keypoint coordinates in active coordinate system (RR, Rθ, RZ for cylindrical; RR, Rθ, RΦ for spherical). Note that the Rθ and RΦ scale factors are interpreted as angular offsets. For example, for CSYS,1, RR, Rθ, RZ input of (1.5,10,3) would scale the specified keypoints 1.5 times in the radial and 3 times in the Z direction, while adding an offset of 10 degrees to the keypoints. Zero, blank, or negative scale factor values are assumed to be 1.0. Zero or blank angular offsets have no effect.


Increment to be applied to keypoint numbers for generated set. If zero, the lowest available keypoint numbers will be assigned [NUMSTR].


Specifies whether nodes and elements are also to be generated:

0 - Nodes and line elements associated with the original lines will be generated

(scaled) if they exist.

1 - Nodes and line elements will not be generated.


Specifies whether lines will be moved or newly defined:

0 - Additional lines will be generated.

1 - Original lines will be moved to new position (KINC and NOELEM are ignored).

Use only if the old lines are no longer needed at their original positions. Corresponding meshed items are also moved if not needed at their original position.


Generates a scaled set of lines (and their corresponding keypoints and mesh) from a pattern of lines. The MAT, TYPE, REAL, and ESYS attributes are based on the lines in the pattern and not the current settings. Scaling is done in the active coordinate system. Lines in the pattern could have been generated in any coordinate system.