OffsetFeature.distance Property

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

Description

Returns the parameter controlling the offset distance. You can edit the distance by editing the value of the parameter object. A positive value specifies that the offset is in the same direction as the normal direction of the face.

Syntax

"offsetFeature_var" is a variable referencing an OffsetFeature object.

# Get the value of the property.
propertyValue = offsetFeature_var.distance
"offsetFeature_var" is a variable referencing an OffsetFeature object.
#include <Fusion/Features/OffsetFeature.h>

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

Property Value

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

Version

Introduced in version June 2015