Share

STLExportOptions.unitType Property

Parent Object: STLExportOptions
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/STLExportOptions.h>

Description

Gets and sets the units to use for the created STL file. When the STLExportOptions object is created, this property is initialized with the default units specified for the Design.

Syntax

"sTLExportOptions_var" is a variable referencing a STLExportOptions object.

# Get the value of the property.
propertyValue = sTLExportOptions_var.unitType

# Set the value of the property.
sTLExportOptions_var.unitType = propertyValue

Property Value

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

Version

Introduced in version May 2025

Was this information helpful?