CircularPatternFeature.bodies Property

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

Description

Returns the bodies that were modified or created by this feature. This property works for both parametric and non-parametric features.

For a BaseFeature, this property has two different behaviors depending on if the BaseFeature is active for edit or not. When the base feature is active, this property returns the bodies owned by the base feature or the source bodies. When the base feature is not active, this property returns the result bodies.

When a body is added to a base feature, that body is owned by the base feature and is only seen in the UI when the base feature is active. This body is referred to as a "source body". Fusion creates a parametric copy of the body when you exit the base feature. This copy is referred to as the "result body," and it is used for subsequent modeling operations.

You can map between the source and result bodies by using their position within the bodies returned. To get a valid list of result bodies, you should roll the timeline to immediately after the base feature node in the timeline. Otherwise, subsequent operations could have done something to cause one or more bodies to no longer be available.

Syntax

"circularPatternFeature_var" is a variable referencing a CircularPatternFeature object.

# Get the value of the property.
propertyValue = circularPatternFeature_var.bodies
"circularPatternFeature_var" is a variable referencing a CircularPatternFeature object.
#include <Fusion/Features/CircularPatternFeature.h>

// Get the value of the property.
Ptr<BRepBodies> propertyValue = circularPatternFeature_var->bodies();

Property Value

This is a read only property whose value is a BRepBodies.

Version

Introduced in version June 2015