Click or drag to resize
SoPreferencesSetValue Method (String, String)

Sets a variable in the Open Inventor environment.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static void SetValue(
	string name,
	string value
)

Parameters

name
Type: SystemString
value
Type: SystemString
Remarks

As this variable is set in memory, it is local to the application process and can only be retrieved using OIV.Inventor.SoPreferences methods.

If the value parameter is set to NULL (default), then the variable is set with no value associated with it.

If the first character of the string name is a '-', then the variable is unset in the Open Inventor environment.

See Also