RibFeatureInput.targetBody Property

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

Description

Gets and sets the BRepBody that the rib will be created on.

Syntax

"ribFeatureInput_var" is a variable referencing a RibFeatureInput object.
# Get the value of the property.
propertyValue = ribFeatureInput_var.targetBody

# Set the value of the property.
ribFeatureInput_var.targetBody = propertyValue
"ribFeatureInput_var" Is a variable referencing a RibFeatureInput Object.
#include <Fusion/Features/RibFeatureInput.h>

// Get the value of the property.
Ptr<BRepBody> propertyValue = ribFeatureInput_var->targetBody();

// Set the value of the property, where value_var is a BRepBody.
bool returnValue = ribFeatureInput_var->targetBody(value_var);
"ribFeatureInput_var" Is a variable referencing a RibFeatureInput Object.
// Get the value of the property.
propertyValue = ribFeatureInput_var.targetBody;

// Set the value of the property.
ribFeatureInput_var.targetBody = propertyValue;

Property Value

This is a read/write property whose value is a BRepBody.

Version

Introduced in version October 2026