GetPreferenceValue (Preferences)

Description

Returns the specified preference value.

Scripting Syntax

    Preferences.GetPreferenceValue( PreferenceName )

C# Syntax

    Object Preferences.GetPreferenceValue( String in_bstrPrefName );

Parameters

Parameter | Type | Description
PreferenceName | String | The name of the preference to get. The syntax for specifying an individual preference is: "category.preference".

Return Value

Variant

Examples

Python Example

    Application.LogMessage( Application.Preferences.GetPreferenceValue("scripting.language") )
    # INFO : Python ActiveX Scripting Engine

See Also

Preferences.SetPreferenceValue | GetUserPref | Preferences.Categories | Preferences.Import
Preferences.Export | Preferences.RestoreDefault | Preferences.SaveChanges |

Autodesk Softimage v7.5