OffsetFeatures.add Method

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

Description

Creates a new offset feature.

Syntax

"offsetFeatures_var" is a variable referencing an OffsetFeatures object.
returnValue = offsetFeatures_var.add(input)
"offsetFeatures_var" is a variable referencing an OffsetFeatures object.

#include <Fusion/Features/OffsetFeatures.h>

returnValue = offsetFeatures_var->add(input);

Return Value

Type Description
OffsetFeature Returns the newly created OffsetFeature object or null if the creation failed.

Parameters

Name Type Description
input OffsetFeatureInput A FeatureInput object that defines the desired offset feature. Use the createInput method to create a new OffsetFeatureInput object and then use methods on it (the OffsetFeatureInput object) to define the offset feature.

Samples

Name Description
offsetFeatures.add Demonstrates the offsetFeatures.add method. This is the equivalent of the Offset command in the SURFACE tab.
Offset Feature API Sample Demonstrates creating a new offset feature

Version

Introduced in version June 2015