DocumentToolLibrary.toJson Method

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

Description

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

Syntax

"documentToolLibrary_var" is a variable referencing a DocumentToolLibrary object.
returnValue = documentToolLibrary_var.toJson()
"documentToolLibrary_var" is a variable referencing a DocumentToolLibrary object.

#include <Cam/Tools/DocumentToolLibrary.h>

returnValue = documentToolLibrary_var->toJson();

Return Value

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

Version

Introduced in version April 2023