Click or drag to resize
SoPreferencesGetDouble Method

Returns the value of the specified environment variable in the Open Inventor environment, interpreted as a double.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public static double GetDouble(
	string name,
	double defaultValue
)

Parameters

name
Type: SystemString
defaultValue
Type: SystemDouble

Return Value

Type: Double
Remarks

The search process is the same as for OIV.Inventor.SoPreferences.GetValue(System.String). If the environment variable is not defined in the Open Inventor environment, or if its value cannot be interpreted as a double, the specified default value will be returned.

See Also