GeneralPreferences.graphicsDriver Property

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

Description

Gets and sets the graphics driver used to display the graphics. Not all of the drivers defined in the enum can be used. Use the Preferences command to check for the current valid options. The options can be different on Windows and Mac.

Syntax

"generalPreferences_var" is a variable referencing a GeneralPreferences object.

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

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

// Get the value of the property.
GraphicsDrivers propertyValue = generalPreferences_var->graphicsDriver();

// Set the value of the property, where value_var is a GraphicsDrivers.
bool returnValue = generalPreferences_var->graphicsDriver(value_var);

Property Value

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

Version

Introduced in version August 2014