ConstructionPlane.name Property

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

Description

Returns the name of the construction plane as it is shown in the browser.

Syntax

"constructionPlane_var" is a variable referencing a ConstructionPlane object.
# Get the value of the property.
propertyValue = constructionPlane_var.name

# Set the value of the property.
constructionPlane_var.name = propertyValue
"constructionPlane_var" Is a variable referencing a ConstructionPlane Object.
#include <Fusion/Construction/ConstructionPlane.h>

// Get the value of the property.
string propertyValue = constructionPlane_var->name();

// Set the value of the property, where value_var is a string.
bool returnValue = constructionPlane_var->name(value_var);
"constructionPlane_var" Is a variable referencing a ConstructionPlane Object.
// Get the value of the property.
propertyValue = constructionPlane_var.name;

// Set the value of the property.
constructionPlane_var.name = propertyValue;

Property Value

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

Samples

Name Description
Construction Plane API Sample

Demonstrates creating construction planes using ConstructionPlaneInput: offset from a profile, angle, tangent, two planes, two edges, three points, three snap points, tangent at a point, and along a path. Also shows reading healthState, errorOrWarningMessage, and renaming planes.

Before running: No open document is required. The script creates a new design, sketches a circle and lines, extrudes a cylinder, then exercises the construction plane APIs on that model. Run from Scripts and Add-Ins (Python/C++/TypeScript) in the DESIGN workspace.

Version

Introduced in version August 2014