The CYLINDER Statement
- Last UpdatedJan 07, 2026
- 1 minute read
CYLINDER,<cyl_name>,<rad>
/COORDCYL=(<cl_pnt_1>,<cl_pnt_2>;
<cyl_name> is the name of the cylinder and will be assigned the type CYLINDER_3D. The maximum length of <cyl_name> is 32 characters.
<rad> is the radius of the cylinder with type DECIMAL.
COORDCYL=(<cl_pnt_1>,<cl_pnt_2>)
<cl_pnt_1> and <cl_pnt_2> are the centre line starting and ending points, respectively. They have the type POINT_3D.
Structure:
|
PNT(1:3) |
(DECIMAL) |
|
|
VEC(1:3) |
(DECIMAL) |
|
|
BASE |
(DECIMAL) |
|
|
Example: |
||
|
GET/STRUCTURE=(X,<cyl_name>,'PNT',1) |
||
|
/STRUCTURE=(Y,<cyl_name>,'VEC','Y') |
||
|
/STRUCTURE=(R,<cyl_name>,'BASE'); |
||