BaseFeatures.add Method

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

Description

Creates a new empty base feature in the parent component.

Syntax

"baseFeatures_var" is a variable referencing a BaseFeatures object.
returnValue = baseFeatures_var.add()
"baseFeatures_var" is a variable referencing a BaseFeatures object.

#include <Fusion/Features/BaseFeatures.h>

returnValue = baseFeatures_var->add();

Return Value

Type Description
BaseFeature Returns the new BaseFeature or null in the case of an error.

Samples

Name Description
baseFeatures.add Demonstrates the baseFeature.add method.
BaseFeature Sample Creates a new base feature.
Sketches.addToBaseOrFormFeature Demonstrates the Sketches.addToBaseOrFormFeature method.

Version

Introduced in version May 2016