MachineAvoidDefaultSelection.machineMode Property

Parent Object: MachineAvoidDefaultSelection

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


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