DocumentToolLibrary.add Method

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

Description

Inserts a Tool at the end of the ToolLibrary.

Syntax

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

#include <Cam/Tools/DocumentToolLibrary.h>

returnValue = documentToolLibrary_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