Sketches.itemByName Method
Parent Object:
SketchesDefined 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
Sketch |
Returns the sketch or null if there isn't a sketch with that name. |
Parameters
name |
string |
The name of the sketch as seen in the browser and the timeline. |
Version
Introduced in version August 2014