MachineAvoidGroups.removeByObject 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 from the collection.

Syntax

"machineAvoidGroups_var" is a variable referencing a MachineAvoidGroups object.
returnValue = machineAvoidGroups_var.removeByObject(group)
"machineAvoidGroups_var" is a variable referencing a MachineAvoidGroups object.

#include <Cam/MachineAvoidSelections/MachineAvoidGroups.h>

returnValue = machineAvoidGroups_var->removeByObject(group);

Parameters

Name Type Description
group MachineAvoidSelectionBase

Version

Introduced in version September 2024