SketchTextInput.height2 Property

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

Description

Gets and sets the ValueInput that defines the height of the text. This value is used to create a parameter that will control the height of the text. It can be a value where it defines the height of the text in centimeters, or it can be a string where it defines the equation of the parameter and must evaluate to a valid length.

Syntax

"sketchTextInput_var" is a variable referencing a SketchTextInput object.

# Get the value of the property.
propertyValue = sketchTextInput_var.height2

# Set the value of the property.
sketchTextInput_var.height2 = propertyValue
"sketchTextInput_var" is a variable referencing a SketchTextInput object.
#include <Fusion/Sketch/SketchTextInput.h>

// Get the value of the property.
Ptr<ValueInput> propertyValue = sketchTextInput_var->height2();

// Set the value of the property, where value_var is a ValueInput.
bool returnValue = sketchTextInput_var->height2(value_var);

Property Value

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

Version

Introduced in version November 2025