ThreadFeature.threadLocation Property

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

Description

Gets and sets where the thread length is measured from. This property is only used in the case where the isFullLength property is false.

To set this property, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"threadFeature_var" is a variable referencing a ThreadFeature object.

# Get the value of the property.
propertyValue = threadFeature_var.threadLocation

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

// Get the value of the property.
ThreadLocations propertyValue = threadFeature_var->threadLocation();

// Set the value of the property, where value_var is a ThreadLocations.
bool returnValue = threadFeature_var->threadLocation(value_var);

Property Value

This is a read/write property whose value is a ThreadLocations.

Version

Introduced in version January 2015