3D Lingo Dictionary > T-Z > topCap

 

topCap

Syntax

modelResourceObjectReference.topCap

Description

3D command; when used with a model resource whose type is #cylinder, allows you to both get and set the topCap property of the model resource.

The topCap property determines whether the top cap of the cylinder is sealed (TRUE) or open (FALSE). The default value for this property is FALSE.

Example

This statement sets the topCap property of the model resource Tube to FALSE, meaning the top of this cylinder will be open.

member("3D World").modelResource("Tube").topCap = FALSE