Public Member Functions | Public Attributes | List of all members
Shaft 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
 from tip to tool holder. More...
 

Detailed Description

Shaft of tool.

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 shaft.

◆ getNumberOfSections()

Integer getNumberOfSections ( )

Returns the number of sections.

◆ getTotalLength()

Number getTotalLength ( )

Returns the length of the shaft.

◆ hasSections()

Boolean hasSections ( )

Returns true if the shaft has any sections.

Member Data Documentation

◆ length

Number length

from tip to tool holder.

The length of the shaft.

Attention
The tool body length specifies the length


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