ToolLibrary.toJson Method

Parent Object: ToolLibrary
Defined in namespace "adsk::cam" and the header file is <Cam/Tools/ToolLibrary.h>

Description

Generate and return JSON string that contains all tools of that list.

Syntax

"toolLibrary_var" is a variable referencing a ToolLibrary object.
returnValue = toolLibrary_var.toJson()
"toolLibrary_var" is a variable referencing a ToolLibrary object.

#include <Cam/Tools/ToolLibrary.h>

returnValue = toolLibrary_var->toJson();

Return Value

Type Description
string Returns JSON string that contains all tools of that list.

Version

Introduced in version April 2023