ToolLibrary.remove Method

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

Description

Remove Tool by index from ToolLibrary.

Syntax

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

#include <Cam/Tools/ToolLibrary.h>

returnValue = toolLibrary_var->remove(index);

Return Value

Type Description
boolean Returns true for successful deletion, false otherwise

Parameters

Name Type Description
index uinteger Index of the Tool in the ToolLibrary that should be removed.

Version

Introduced in version April 2023