ThreadFeature.threadLength Property

Parent Object: ThreadFeature
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/ThreadFeature.h>

Description

Gets the parameter that controls the depth of the thread. Even though the parameter for the thread depth is always created and accessible through this property, it is only used in the case where the isFullLength property is false. Returns nothing in the case where the feature is non-parametric.

Syntax

"threadFeature_var" is a variable referencing a ThreadFeature object.

# Get the value of the property.
propertyValue = threadFeature_var.threadLength
"threadFeature_var" is a variable referencing a ThreadFeature object.
#include <Fusion/Features/ThreadFeature.h>

// Get the value of the property.
Ptr<ModelParameter> propertyValue = threadFeature_var->threadLength();

Property Value

This is a read only property whose value is a ModelParameter.

Version

Introduced in version January 2015