FusionDefaultUnitsPreferences.distanceDisplayUnits Property

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

Description

Gets and sets the default units for length when creating a new Fusion file.

Syntax

"fusionDefaultUnitsPreferences_var" is a variable referencing a FusionDefaultUnitsPreferences object.

# Get the value of the property.
propertyValue = fusionDefaultUnitsPreferences_var.distanceDisplayUnits

# Set the value of the property.
fusionDefaultUnitsPreferences_var.distanceDisplayUnits = propertyValue
"fusionDefaultUnitsPreferences_var" is a variable referencing a FusionDefaultUnitsPreferences object.
#include <Fusion/Fusion/FusionDefaultUnitsPreferences.h>

// Get the value of the property.
DistanceUnits propertyValue = fusionDefaultUnitsPreferences_var->distanceDisplayUnits();

// Set the value of the property, where value_var is a DistanceUnits.
bool returnValue = fusionDefaultUnitsPreferences_var->distanceDisplayUnits(value_var);

Property Value

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

Version

Introduced in version August 2014