SplitBodyFeature.splitBodies Property

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

Description

Gets and sets the input solid or open bodies that are split.

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

"splitBodyFeature_var" is a variable referencing a SplitBodyFeature object.

# Get the value of the property.
propertyValue = splitBodyFeature_var.splitBodies

# Set the value of the property.
splitBodyFeature_var.splitBodies = propertyValue
"splitBodyFeature_var" is a variable referencing a SplitBodyFeature object.
#include <Fusion/Features/SplitBodyFeature.h>

// Get the value of the property.
Ptr<ObjectCollection> propertyValue = splitBodyFeature_var->splitBodies();

// Set the value of the property, where value_var is an ObjectCollection.
bool returnValue = splitBodyFeature_var->splitBodies(value_var);

Property Value

This is a read/write property whose value is an ObjectCollection.

Version

Introduced in version June 2015