ChainSelection.hasWarning Property

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

Description

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

Syntax

"chainSelection_var" is a variable referencing a ChainSelection object.

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

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

Property Value

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

Version

Introduced in version July 2023