PatchFeatureInput.operation Property

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

Description

Gets and sets the type of operation performed by the patch feature. Only 'NewBodyFeatureOperation' and 'NewComponentFeatureOperation' are valid operations for patch features.

Syntax

"patchFeatureInput_var" is a variable referencing a PatchFeatureInput object.

# Get the value of the property.
propertyValue = patchFeatureInput_var.operation

# Set the value of the property.
patchFeatureInput_var.operation = propertyValue
"patchFeatureInput_var" is a variable referencing a PatchFeatureInput object.
#include <Fusion/Features/PatchFeatureInput.h>

// Get the value of the property.
FeatureOperations propertyValue = patchFeatureInput_var->operation();

// Set the value of the property, where value_var is a FeatureOperations.
bool returnValue = patchFeatureInput_var->operation(value_var);

Property Value

This is a read/write property whose value is a FeatureOperations.

Version

Introduced in version July 2016