GeneralPreferences.activeUserInterfaceTheme Property

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

Description

Gets the active user interface theme. This property is only different from userInterfaceTheme in the case the theme is DeviceUserInterfaceTheme. In that case the theme used will be returned.

Syntax

"generalPreferences_var" is a variable referencing a GeneralPreferences object.

# Get the value of the property.
propertyValue = generalPreferences_var.activeUserInterfaceTheme
"generalPreferences_var" is a variable referencing a GeneralPreferences object.
#include <Core/Application/GeneralPreferences.h>

// Get the value of the property.
UserInterfaceThemes propertyValue = generalPreferences_var->activeUserInterfaceTheme();

Property Value

This is a read only property whose value is a UserInterfaceThemes.

Version

Introduced in version January 2026