Share

UnitAndValuePreferences.generalPrecision Property

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

Description

Gets and sets the general precision for distance values. This value specifies the number of decimals to display.

Syntax

"unitAndValuePreferences_var" is a variable referencing a UnitAndValuePreferences object.

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

# Set the value of the property.
unitAndValuePreferences_var.generalPrecision = propertyValue

Property Value

This is a read/write property whose value is an integer.

Version

Introduced in version August 2014

Was this information helpful?