ConstructionPlaneInput.targetBaseOrFormFeature Property

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

Description

When creating a construction plane 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 plane 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 plane 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

"constructionPlaneInput_var" is a variable referencing a ConstructionPlaneInput object.

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

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

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

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

Property Value

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

Samples

Name Description
BaseFeature Sample Creates a new base feature.

Version

Introduced in version May 2016