SketchText.createForAssemblyContext Method

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

Description

Creates a proxy object for the SketchText object that represents the SketchText object in the context of an assembly. The context is defined by the input occurrence.

Syntax

"sketchText_var" is a variable referencing a SketchText object.
returnValue = sketchText_var.createForAssemblyContext(occurrence)
"sketchText_var" is a variable referencing a SketchText object.

#include <Fusion/Sketch/SketchText.h>

returnValue = sketchText_var->createForAssemblyContext(occurrence);

Return Value

Type Description
SketchText Returns the proxy object or null if this isn't the NativeObject.

Parameters

Name Type Description
occurrence Occurrence The occurrence that defines the context to create the proxy in.

Version

Introduced in version May 2022