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);
"removeFeatures_var" is a variable referencing a RemoveFeatures object.

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
Remove Feature

Demonstrates creating a new remove feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version September 2015