lextnd

Mapdl.lextnd(nl1='', nk1='', dist='', keep='', **kwargs)

Extends a line at one end by using its slope.

APDL Command: LEXTND

Parameters
  • nl1 – Number of the line to be extended.

  • nk1 – Number of keypoint at the end of line NL1 to be extended.

  • dist – Distance that the line will be extended.

  • keep

    Specifies whether to keep the input entities:

    0 - Modify old line to use new keypoints and slopes.

    1 - Do not modify old line. New line will overlay old

    line and have unique keypoints.

Return type

int

Returns

int – Line number of the generated line.

Examples

Create a circular arc and extend it at one of its keypoints

>>> k0 = mapdl.k("", 0, 0, 0)
>>> k1 = mapdl.k("", 0, 0, 1)
>>> carcs = mapdl.circle(k0, 1, k1, arc=90)
>>> lnum = mapdl.lextnd(carcs[0], 3, 1)
>>> lnum
1

Notes

Extends a line at one end by using its slope. Lines may be redefined only if not yet attached to an area. Line divisions are set to zero (use LESIZE, etc. to modify). Note that solid modeling in a toroidal coordinate system is not recommended.