L, P1, P2, NDIV, SPACE, XV1, YV1, ZV1, XV2, YV2, ZV2
Defines a line between two keypoints.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA


Keypoint at the beginning of line. If P1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI).


Keypoint at the end of line.


Number of element divisions within this line. Normally this field is not used; specifying divisions with LESIZE, etc. is recommended.


Spacing ratio. Normally this field is not used, as specifying spacing ratios with the LESIZE command is recommended. If positive, SPACE is the nominal ratio of the last division size (at P2) to the first division size (at P1). If the ratio is greater than 1, the division sizes increase from P1 to P2, and if less than 1, they decrease. If SPACE is negative, then |SPACE| is the nominal ratio of the center division size to those at the ends.

The following fields are used only if specified end slopes on the line are desired, otherwise zero curvature end slopes will be automatically calculated to produce a line which is "straight" in the active coordinate system. To specify end slopes, use the following fields to define a "slope vector" (one for each end of the line, if desired) that has its tail at the origin and its head at the point XV, YV, ZV in the active coordinate system [CSYS]. The corresponding end slope of the line will then be parallel to this "slope vector."

XV1, YV1, ZV1

Location (in the active coordinate system) of the head of the "slope vector" corresponding to the slope at the P1 end of the line. The tail of the vector is at the origin of the coordinate system.

XV2, YV2, ZV2

Location of the head of the "slope vector" corresponding to the slope at the P2 end of the line.


Defines a line between two keypoints from P1 to P2. The line shape may be generated as "straight" (in the active coordinate system) or curved. The line shape is invariant with coordinate system after it is generated. Note that solid modeling in a toroidal coordinate system is not recommended. A curved line is limited to 180°. Lines may be redefined only if not yet attached to an area.

Menu Paths

Main Menu>Preprocessor>Modeling>Create>Lines>Lines>In Active Coord

Release 18.2 - © ANSYS, Inc. All rights reserved.