Sketches.itemByName Method

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

Description

Returns the sketch with the specified name.

Syntax

"sketches_var" is a variable referencing a Sketches object.
returnValue = sketches_var.itemByName(name)
"sketches_var" is a variable referencing a Sketches object.

#include <Fusion/Sketch/Sketches.h>

returnValue = sketches_var->itemByName(name);

Return Value

Type Description
Sketch Returns the sketch or null if there isn't a sketch with that name.

Parameters

Name Type Description
name string The name of the sketch as seen in the browser and the timeline.

Version

Introduced in version August 2014