WebFeatureInput.targetBody Property

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

Description

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

Syntax

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

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

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

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

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

Property Value

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

Version

Introduced in version October 2026