GraphicsPreferences.graphicsPreset Property

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

Description

Gets and sets if the different graphics settings are using predefined settings to get the best performance, quality, or are custom to allow any settings. Setting this to performance or quality will result in other graphics settings changing to match the defined preset.

Syntax

"graphicsPreferences_var" is a variable referencing a GraphicsPreferences object.

# Get the value of the property.
propertyValue = graphicsPreferences_var.graphicsPreset

# Set the value of the property.
graphicsPreferences_var.graphicsPreset = propertyValue
"graphicsPreferences_var" is a variable referencing a GraphicsPreferences object.
#include <Core/Application/GraphicsPreferences.h>

// Get the value of the property.
GraphicsPresets propertyValue = graphicsPreferences_var->graphicsPreset();

// Set the value of the property, where value_var is a GraphicsPresets.
bool returnValue = graphicsPreferences_var->graphicsPreset(value_var);

Property Value

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

Version

Introduced in version May 2025