PipeFeature.participantBodies Property

Parent Object: PipeFeature
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/PipeFeature.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

"pipeFeature_var" is a variable referencing a PipeFeature object.

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

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

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

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

Property Value

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

Version

Introduced in version October 2023