SketchSymbol.name Property

Parent Object: SketchSymbol

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::drawing" and the header file is <Drawing/Symbols/SketchSymbol.h>

Description

Gets and sets the name of the sketch symbol as shown in the Sketch Symbols dialog. When setting: the name must be unique within the drawing and must not be empty. Every placement of this symbol follows the rename.

Syntax

"sketchSymbol_var" is a variable referencing a SketchSymbol object.
# Get the value of the property.
propertyValue = sketchSymbol_var.name

# Set the value of the property.
sketchSymbol_var.name = propertyValue
"sketchSymbol_var" Is a variable referencing a SketchSymbol Object.
#include <Drawing/Symbols/SketchSymbol.h>

// Get the value of the property.
string propertyValue = sketchSymbol_var->name();

// Set the value of the property, where value_var is a string.
bool returnValue = sketchSymbol_var->name(value_var);
"sketchSymbol_var" Is a variable referencing a SketchSymbol Object.
// Get the value of the property.
propertyValue = sketchSymbol_var.name;

// Set the value of the property.
sketchSymbol_var.name = propertyValue;

Property Value

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

Version

Introduced in version November 2026