Share

MachineAvoidDirectSelection.hasWarning Property

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

Description

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

Syntax

"machineAvoidDirectSelection_var" is a variable referencing a MachineAvoidDirectSelection object.

# Get the value of the property.
propertyValue = machineAvoidDirectSelection_var.hasWarning

Property Value

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

Version

Introduced in version September 2024

Was this information helpful?