Disk

concerns

The Disk attribute function draws a disk.

 

Syntax

Disk(Section, innerRadius, outerRadius)

Return value

Type

Description

Section3D

A Section3D object that describes the drawn circle

Parameter

Use

Name

Type

Passing

Description

Required

Section

Section3D

ByVal

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

Required

innerRadius

Double

ByVal

Inner radius of the disk

Required

outerRadius

Double

ByVal

Outer radius of the disk

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.