Preferences.apiPreferences Property

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

Description

Gets the APIPreferences object, which provides access to the various preferences associated with the API.

Syntax

"preferences_var" is a variable referencing a Preferences object.

# Get the value of the property.
propertyValue = preferences_var.apiPreferences
"preferences_var" is a variable referencing a Preferences object.
#include <Core/Application/Preferences.h>

// Get the value of the property.
Ptr<APIPreferences> propertyValue = preferences_var->apiPreferences();

Property Value

This is a read only property whose value is an APIPreferences.

Version

Introduced in version October 2023