CurveSelections.removeByObject Method

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

Description

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

Syntax

"curveSelections_var" is a variable referencing a CurveSelections object.
returnValue = curveSelections_var.removeByObject(selection)
"curveSelections_var" is a variable referencing a CurveSelections object.

#include <Cam/GeometrySelections/CurveSelections.h>

returnValue = curveSelections_var->removeByObject(selection);

Parameters

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

Version

Introduced in version March 2024