Share

APIPreferences.defaultScriptLanguage Property

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

Description

Gets and sets the preference that controls which programming language should be used when creating a new script. One option is to prompt the user.

Syntax

"aPIPreferences_var" is a variable referencing an APIPreferences object.

# Get the value of the property.
propertyValue = aPIPreferences_var.defaultScriptLanguage

# Set the value of the property.
aPIPreferences_var.defaultScriptLanguage = propertyValue

Property Value

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

Version

Introduced in version October 2023

Was this information helpful?