SketchText.text Property

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

Description

Gets and sets the text. This is a simple string and ignores any formatting defined within the text.

Syntax

"sketchText_var" is a variable referencing a SketchText object.

# Get the value of the property.
propertyValue = sketchText_var.text

# Set the value of the property.
sketchText_var.text = propertyValue
"sketchText_var" is a variable referencing a SketchText object.
#include <Fusion/Sketch/SketchText.h>

// Get the value of the property.
string propertyValue = sketchText_var->text();

// Set the value of the property, where value_var is a string.
bool returnValue = sketchText_var->text(value_var);

Property Value

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

Version

Introduced in version March 2015