LSTR, P1, P2
Defines a straight line irrespective of the active coordinate system.

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.


Defines a straight line from P1 to P2 using the global Cartesian coordinate system. The active coordinate system will be ignored. The line shape is invariant with the coordinate system after it is generated. Lines may be redefined only if not yet attached to an area.

Menu Paths

Main Menu>Preprocessor>Modeling>Create>Lines>Lines>Straight Line

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