PostProcessInput.outputUnits Property

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

Description

Gets and sets the units option for the CNC output. Valid options are DocumentUnitsOutput, InchesOutput or MillimetersOutput

Syntax

"postProcessInput_var" is a variable referencing a PostProcessInput object.

# Get the value of the property.
propertyValue = postProcessInput_var.outputUnits

# Set the value of the property.
postProcessInput_var.outputUnits = propertyValue
"postProcessInput_var" is a variable referencing a PostProcessInput object.
#include <Cam/CAM/PostProcessInput.h>

// Get the value of the property.
PostOutputUnitOptions propertyValue = postProcessInput_var->outputUnits();

// Set the value of the property, where value_var is a PostOutputUnitOptions.
bool returnValue = postProcessInput_var->outputUnits(value_var);

Property Value

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

Version

Introduced in version January 2016