PatchFeature.groupWeight Property

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

Description

Gets and sets the weight to use for all edges when the isGroupEdges property is true. It is ignored for any sketch curves in the boundary. The property defaults to 0.5. The value of this property is ignored if the isGroupEdges property is false.

To get or set this property, you need to position the timeline marker immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"patchFeature_var" is a variable referencing a PatchFeature object.

# Get the value of the property.
propertyValue = patchFeature_var.groupWeight

# Set the value of the property.
patchFeature_var.groupWeight = propertyValue
"patchFeature_var" is a variable referencing a PatchFeature object.
#include <Fusion/Features/PatchFeature.h>

// Get the value of the property.
double propertyValue = patchFeature_var->groupWeight();

// Set the value of the property, where value_var is a double.
bool returnValue = patchFeature_var->groupWeight(value_var);

Property Value

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

Version

Introduced in version November 2022