LoftFeatureInput.targetBaseFeature Property

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

Description

When creating a feature that is owned by a base feature, set this property to the base feature you want to associate the new feature with. By default, this is null, meaning it will not be associated with a base feature.

Because of a current limitation, if you want to create a feature associated with a base feature, you must set this property AND call the startEdit method of the base feature, create the feature, and then call the finishEdit method of the base feature. The base feature must be in an "edit" state to be able to add any additional items to it.

Syntax

"loftFeatureInput_var" is a variable referencing a LoftFeatureInput object.

# Get the value of the property.
propertyValue = loftFeatureInput_var.targetBaseFeature

# Set the value of the property.
loftFeatureInput_var.targetBaseFeature = propertyValue
"loftFeatureInput_var" is a variable referencing a LoftFeatureInput object.
#include <Fusion/Features/LoftFeatureInput.h>

// Get the value of the property.
Ptr<BaseFeature> propertyValue = loftFeatureInput_var->targetBaseFeature();

// Set the value of the property, where value_var is a BaseFeature.
bool returnValue = loftFeatureInput_var->targetBaseFeature(value_var);

Property Value

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

Version

Introduced in version August 2016