PatchFeatures.add Method

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

Description

Creates a new patch feature.

Syntax

"patchFeatures_var" is a variable referencing a PatchFeatures object.
returnValue = patchFeatures_var.add(input)
"patchFeatures_var" is a variable referencing a PatchFeatures object.

#include <Fusion/Features/PatchFeatures.h>

returnValue = patchFeatures_var->add(input);

Return Value

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

Parameters

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

Samples

Name Description
patchFeatures.add Demonstrates the patchFeatures.add method by creating a patch surface on the selected profile.
Patch Feature API Sample Demonstrates creating a new patch feature.

Version

Introduced in version July 2016