Share

GeneralPreferences.defaultModelingOrientation Property

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

Description

Gets and sets the default for which direction is considered "up".

Syntax

"generalPreferences_var" is a variable referencing a GeneralPreferences object.

# Get the value of the property.
propertyValue = generalPreferences_var.defaultModelingOrientation

# Set the value of the property.
generalPreferences_var.defaultModelingOrientation = propertyValue

Property Value

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

Version

Introduced in version August 2014

Was this information helpful?