SketchSelection.hasWarning Property

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

Description

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

Syntax

"sketchSelection_var" is a variable referencing a SketchSelection object.

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

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

Property Value

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

Version

Introduced in version July 2023