OffsetFeature.offsetType Property

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

Description

Gets and sets the offset type for the offset.

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

"offsetFeature_var" is a variable referencing an OffsetFeature object.
# Get the value of the property.
propertyValue = offsetFeature_var.offsetType

# Set the value of the property.
offsetFeature_var.offsetType = propertyValue
"offsetFeature_var" Is a variable referencing an OffsetFeature Object.
#include <Fusion/Features/OffsetFeature.h>

// Get the value of the property.
OffsetTypes propertyValue = offsetFeature_var->offsetType();

// Set the value of the property, where value_var is an OffsetTypes.
bool returnValue = offsetFeature_var->offsetType(value_var);
"offsetFeature_var" Is a variable referencing an OffsetFeature Object.
// Get the value of the property.
propertyValue = offsetFeature_var.offsetType;

// Set the value of the property.
offsetFeature_var.offsetType = propertyValue;

Property Value

This is a read/write property whose value is an OffsetTypes.

Version

Introduced in version September 2026