MachineAvoidDefaultSelection.machineMode Property

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

Description

Desired machining mode. The default is Avoid. The current machining mode will determine which value the radial and axial offset functions refer to. When set to Machine, the radial and axial offset methods will read/set the stock to leave parameter. When set to Avoid, the radial and axial offset methods will read/set the clearance value, and the Fixture mode will map to the relative fixture clearance value.

Syntax

"machineAvoidDefaultSelection_var" is a variable referencing a MachineAvoidDefaultSelection object.

# Get the value of the property.
propertyValue = machineAvoidDefaultSelection_var.machineMode

# Set the value of the property.
machineAvoidDefaultSelection_var.machineMode = propertyValue
"machineAvoidDefaultSelection_var" is a variable referencing a MachineAvoidDefaultSelection object.
#include <Cam/MachineAvoidSelections/MachineAvoidDefaultSelection.h>

// Get the value of the property.
MachiningMode propertyValue = machineAvoidDefaultSelection_var->machineMode();

// Set the value of the property, where value_var is a MachiningMode.
bool returnValue = machineAvoidDefaultSelection_var->machineMode(value_var);

Property Value

This is a read/write property whose value is a MachiningMode.

Version

Introduced in version September 2024