ArrangeSelections.removeByObject Method

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

Description

Function that removes the specified arrange selection object from the collection.

Syntax

"arrangeSelections_var" is a variable referencing an ArrangeSelections object.
returnValue = arrangeSelections_var.removeByObject(selection)
"arrangeSelections_var" is a variable referencing an ArrangeSelections object.

#include <Cam/GeometrySelections/ArrangeSelections.h>

returnValue = arrangeSelections_var->removeByObject(selection);

Parameters

Name Type Description
selection ArrangeSelection The item within the collection to remove. Throws an exception if the arrange selection is not part of the given selection.

Version

Introduced in version March 2024