Sketch.sketchTexts Property

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

Description

Returns the sketch text collection associated with this sketch. This provides access to existing text and supports the creation of new text.

Syntax

"sketch_var" is a variable referencing a Sketch object.

# Get the value of the property.
propertyValue = sketch_var.sketchTexts
"sketch_var" is a variable referencing a Sketch object.
#include <Fusion/Sketch/Sketch.h>

// Get the value of the property.
Ptr<SketchTexts> propertyValue = sketch_var->sketchTexts();

Property Value

This is a read only property whose value is a SketchTexts.

Samples

Name Description
SketchTextInput.setAsAlongPath Demonstrates the SketchTextInput.setAsAlongPath method.
Sketch Text API Sample Demonstrates creating sketch text by creating both mult-line text and text along a curve.

Version

Introduced in version January 2015