MachineAvoidGroups.remove Method

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

Description

Function that removes the specified group object using an index in the collection.

Syntax

"machineAvoidGroups_var" is a variable referencing a MachineAvoidGroups object.
returnValue = machineAvoidGroups_var.remove(index)
"machineAvoidGroups_var" is a variable referencing a MachineAvoidGroups object.

#include <Cam/MachineAvoidSelections/MachineAvoidGroups.h>

returnValue = machineAvoidGroups_var->remove(index);

Parameters

Name Type Description
index uinteger The index of the item within the collection to remove. The first item in the collection has an index of 0.

Version

Introduced in version September 2024