GetUserPref

Introduced

1.0

Description

Returns the specified user preference setting/value.

Scripting Syntax

GetUserPref( Target )

Parameters

Parameter

Type

Description

Target

UserPreference

User preference to get.

Return Value

Variant

Examples

VBScript Example

'
' This example demonstrates how to find the current user 
' setting for the automatic inspection setting
'
bPopUpPPGs = GetUserPref(siAutoInspect)
if bPopUpPPGs then
   Application.LogMessage "true"
else 
   Application.LogMessage "false"
end if 

See Also

SetUserPref

Preferences.GetPreferenceValue

Property Editor Automatic Inspection



Autodesk Softimage v7.5