Tool.toJson Method

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

Description

Generates and returns a JSON string that contains a description of this tool.

Syntax

"tool_var" is a variable referencing a Tool object.
returnValue = tool_var.toJson()
"tool_var" is a variable referencing a Tool object.

#include <Cam/Tools/Tool.h>

returnValue = tool_var->toJson();

Return Value

Type Description
string Returns a JSON string that contains a description of this tool.

Version

Introduced in version April 2023