RevolveFeatureInput.participantBodies Property

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

Description

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

If this property has not been set, the default behavior is that all bodies that are intersected by the feature will participate.

This property can return null in the case where the feature has not been fully defined so that possible intersecting bodies can be computed.

Syntax

"revolveFeatureInput_var" is a variable referencing a RevolveFeatureInput object.

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

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

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

// Set the value of the property, where value_var is a BRepBody.
bool returnValue = revolveFeatureInput_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