SketchSelection.value Property

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

Description

Returns the resulting value of the selection. In general, this returns the input selection, but child classes can override the return value if needed. Refer to the child classes comments for further details. The collection may contain duplicates.

Syntax

"sketchSelection_var" is a variable referencing a SketchSelection object.

# Get the value of the property.
propertyValue = sketchSelection_var.value
"sketchSelection_var" is a variable referencing a SketchSelection object.
#include <Cam/GeometrySelections/SketchSelection.h>

// Get the value of the property.
std::vector<Ptr<Base>> propertyValue = sketchSelection_var->value();

Property Value

This is a read only property whose value is an array of type Base.

Version

Introduced in version July 2023