MachineAvoidSelectionBase.error Property

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

Description

Gets the last warning string encountered after the selection was applied to a parent.

Syntax

"machineAvoidSelectionBase_var" is a variable referencing a MachineAvoidSelectionBase object.

# Get the value of the property.
propertyValue = machineAvoidSelectionBase_var.error
"machineAvoidSelectionBase_var" is a variable referencing a MachineAvoidSelectionBase object.
#include <Cam/MachineAvoidSelections/MachineAvoidSelectionBase.h>

// Get the value of the property.
string propertyValue = machineAvoidSelectionBase_var->error();

Property Value

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

Version

Introduced in version September 2024