GeometrySelection.hasWarning Property

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

Description

Gets if warnings were encountered when applying the selection to a parent.

Syntax

"geometrySelection_var" is a variable referencing a GeometrySelection object.

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

// Get the value of the property.
boolean propertyValue = geometrySelection_var->hasWarning();

Property Value

This is a read only property whose value is a boolean.

Version

Introduced in version July 2023