ToolPresets.remove Method

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

Description

Remove Preset by index from the owning Tool.

Syntax

"toolPresets_var" is a variable referencing a ToolPresets object.
returnValue = toolPresets_var.remove(index)
"toolPresets_var" is a variable referencing a ToolPresets object.

#include <Cam/Tools/ToolPresets.h>

returnValue = toolPresets_var->remove(index);

Return Value

Type Description
boolean Returns true for successful deletion, false otherwise

Parameters

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

Version

Introduced in version April 2023