MachineAvoidDirectSelection.error Property

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

Description

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

Syntax

"machineAvoidDirectSelection_var" is a variable referencing a MachineAvoidDirectSelection object.

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

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

Property Value

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

Version

Introduced in version September 2024