ExtrudeFeature.participantBodies Property

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

Description

Gets and sets the list of bodies that will participate in the feature when the operation is a cut or intersection.

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

Syntax

"extrudeFeature_var" is a variable referencing an ExtrudeFeature object.

# Get the value of the property.
propertyValue = extrudeFeature_var.participantBodies

# Set the value of the property.
extrudeFeature_var.participantBodies = propertyValue
"extrudeFeature_var" is a variable referencing an ExtrudeFeature object.
#include <Fusion/Features/ExtrudeFeature.h>

// Get the value of the property.
std::vector<Ptr<BRepBody>> propertyValue = extrudeFeature_var->participantBodies();

// Set the value of the property, where value_var is a BRepBody.
bool returnValue = extrudeFeature_var->participantBodies(value_var);

Property Value

This is a read/write property whose value is an array of type BRepBody.

Version

Introduced in version January 2017