Construct Cylinder

Constructs a cylinder with a specified end point, axis, diameter, and length.

 

Input Arguments

 

0

Collection Object Name

Cylinder Name

The name for the resulting cylinder.

1

Vector

Cylinder End Point (in working coordinates)

The end point of the resulting cylinder.

2

Vector

Cylinder Axis (in working

coordinates)

A vector defining the axis of the resulting cylinder.

3

Double

Cylinder Diameter

The diameter of the resulting cylinder.

4

Double

Cylinder Length

The length of the resulting cylinder.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The cylinder was created successfully.

FAILURE

An invalid cylinder axis (normal) was provided.

 

Remarks

If the specified cylinder name already exists, the name will beincremented automatically to avoid duplicates. If a cylinder name is not provided, a default name of “Cylinder” will be used.

While a zero or negative length/diameter can be specified, the results during analysis can be undefined.