ConstructionPointInput.targetBaseOrFormFeature Property

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

Description

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

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

Syntax

"constructionPointInput_var" is a variable referencing a ConstructionPointInput object.

# Get the value of the property.
propertyValue = constructionPointInput_var.targetBaseOrFormFeature

# Set the value of the property.
constructionPointInput_var.targetBaseOrFormFeature = propertyValue
"constructionPointInput_var" is a variable referencing a ConstructionPointInput object.
#include <Fusion/Construction/ConstructionPointInput.h>

// Get the value of the property.
Ptr<Base> propertyValue = constructionPointInput_var->targetBaseOrFormFeature();

// Set the value of the property, where value_var is a Base.
bool returnValue = constructionPointInput_var->targetBaseOrFormFeature(value_var);

Property Value

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

Version

Introduced in version May 2016