ToolLibrary.add Method

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

Description

Inserts a Tool at the end of the ToolLibrary.

Syntax

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

#include <Cam/Tools/ToolLibrary.h>

returnValue = toolLibrary_var->add(tool);

Return Value

Type Description
boolean Returns true for successful insertion, false otherwise

Parameters

Name Type Description
tool Tool The Tool that should be added.

Version

Introduced in version April 2023