MachineAvoidDirectSelection.machineMode Property

Parent Object: MachineAvoidDirectSelection

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/MachineAvoidDirectSelection.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

"machineAvoidDirectSelection_var" is a variable referencing a MachineAvoidDirectSelection object.

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

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

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

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

Property Value

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

Version

Introduced in version September 2024