Sheet.insertSketchSymbol Method

Parent Object: Sheet

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/Sheet/Sheet.h>

Description

Inserts a sketch symbol on this sheet. The same symbol can be inserted any number of times, on this or any other sheet.

Syntax

"sheet_var" is a variable referencing a Sheet object.

returnValue = sheet_var.insertSketchSymbol(sketchSymbol, position)
"sheet_var" is a variable referencing a Sheet object.

#include <Drawing/Sheet/Sheet.h>

returnValue = sheet_var->insertSketchSymbol(sketchSymbol, position);
"sheet_var" is a variable referencing a Sheet object.

returnValue = sheet_var.insertSketchSymbol(sketchSymbol, position);

Return Value

Type Description
boolean Returns true if the symbol was inserted. Returns false when sketchSymbol is null, when it belongs to another drawing, or when the symbol could not be inserted.

Parameters

Name Type Description
sketchSymbol SketchSymbol The symbol to insert, from the Drawing.sketchSymbols collection. Must not be null and must belong to the same drawing as this sheet.
position Point2D Where to insert the symbol, in sheet space, in drawing units (millimeters when the drawing standard includes ISO; inches when the standard is ASME without ISO). How the symbol sits on this point is decided by its leaderAttachment. Build the point with core.Point2D.create(x, y).

Version

Introduced in version November 2026