RemoveFeatures.add Method

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

Description

Creates a new Remove feature.

Syntax

"removeFeatures_var" is a variable referencing a RemoveFeatures object.
returnValue = removeFeatures_var.add(itemToRemove)
"removeFeatures_var" is a variable referencing a RemoveFeatures object.

#include <Fusion/Features/RemoveFeatures.h>

returnValue = removeFeatures_var->add(itemToRemove);

Return Value

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

Parameters

Name Type Description
itemToRemove Base A single body (solid or surface) or component occurrence to remove.

Samples

Name Description
removeFeatures.add Demonstrate the removeFeatures.add method. The Remove feature is the same as selecting a body in the browser and selecting "Remove" in the context menu.
Remove Feature Demonstrates creating a new remove feature.

Version

Introduced in version September 2015