UnitAndValuePreferences.areAbbreviationsForUnitDisplayed Property

Parent Object: UnitAndValuePreferences
Defined in namespace "adsk::core" and the header file is <Core/Application/UnitAndValuePreferences.h>

Description

Gets and sets if abbreviations are used for units display.

Syntax

"unitAndValuePreferences_var" is a variable referencing a UnitAndValuePreferences object.

# Get the value of the property.
propertyValue = unitAndValuePreferences_var.areAbbreviationsForUnitDisplayed

# Set the value of the property.
unitAndValuePreferences_var.areAbbreviationsForUnitDisplayed = propertyValue
"unitAndValuePreferences_var" is a variable referencing a UnitAndValuePreferences object.
#include <Core/Application/UnitAndValuePreferences.h>

// Get the value of the property.
boolean propertyValue = unitAndValuePreferences_var->areAbbreviationsForUnitDisplayed();

// Set the value of the property, where value_var is a boolean.
bool returnValue = unitAndValuePreferences_var->areAbbreviationsForUnitDisplayed(value_var);

Property Value

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

Version

Introduced in version August 2014