Cylinder

concerns

The Cylinder attribute function draws a cylinder. When all image edits are complete, the EndModify attribute function must be called to ensure that all changes are saved in the variable.

 

Syntax

Cylinder(Section, BaseRadius, TopRadius, Height)

Return value

Type

Description

Section3D

A Section3D object that describes the drawn cylinder

Parameter

Use

Name

Type

Passing

Description

Required

Section

Section3D

ByVal

The image section to which the cylinder is to be attached. If the cylinder is to be attached to the root level, “Nothing” must be passed

Required

BaseRadius

Double

ByVal

Radius of the bottom end of the cylinder

Required

TopRadius

Double

ByVal

Radius of the top end of the cylinder

Required

Height

Double

ByVal

Height of the cylinder

Note

Before editing a Model3D variable, the BeginModify attribute function must be called. After all modifications have been made, the attribute function EndModify must be called so that all changes are saved in the variable.