Public Member Functions | Public Attributes | List of all members
Holder Class Reference

Inherits ScriptObject.

Public Member Functions

Boolean hasSections ()
 
Integer getNumberOfSections ()
 
Number getMaximumDiameter ()
 
Number getTotalLength ()
 
Number getDiameter (Integer index)
 
Number getLength (Integer index)
 

Public Attributes

Number maximumDiameter
 The maximum diameter.
 
Number length
 The length of the holder.
 

Detailed Description

Holder.

Member Function Documentation

◆ getDiameter()

Number getDiameter ( Integer  index)

Returns the diameter of the specified section. The section is a value in the range [0; getNumberOfSections()].

◆ getLength()

Number getLength ( Integer  index)

Returns the length of the specified section. The section is a value in the range [0; getNumberOfSections()].

◆ getMaximumDiameter()

Number getMaximumDiameter ( )

Returns the maximum diameter of the holder.

◆ getNumberOfSections()

Integer getNumberOfSections ( )

Returns the number of sections.

◆ getTotalLength()

Number getTotalLength ( )

Returns the length of the holder.

◆ hasSections()

Boolean hasSections ( )

Returns true if the holder has any sections.



Generated by Autodesk, Inc. 19 April 2024
Copyright (c) 2012-2024 by Autodesk, Inc.