PocketSelection.hasWarning Property

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

Description

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

Syntax

"pocketSelection_var" is a variable referencing a PocketSelection object.

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

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

Property Value

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

Version

Introduced in version July 2023