SketchTextInput.setAsFitOnPath Method

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

Description

Sets this SketchTextInput to define text that fits along a specified path. Fitting on a path will space the characters so the text fits along the entire length of the path entity.

Syntax

"sketchTextInput_var" is a variable referencing a SketchTextInput object.
returnValue = sketchTextInput_var.setAsFitOnPath(path, isAbovePath)
"sketchTextInput_var" is a variable referencing a SketchTextInput object.

#include <Fusion/Sketch/SketchTextInput.h>

returnValue = sketchTextInput_var->setAsFitOnPath(path, isAbovePath);

Return Value

Type Description
boolean Returns true if the setting the definition was successful.

Parameters

Name Type Description
path Base The entity that defines the path for the text. This can be a SketchCurve or BRepEdge object.
isAbovePath boolean Indicates if the text should be positioned above or below the path entity.

Samples

Name Description
SketchTextInput.setAsFitOnPath Demoonstrates the SketchTextInput.setAsFitOnPath method.

Version

Introduced in version December 2020