SoPreferencesGetValue Method |
Returns the value of the specified environment variable in the Open Inventor environment.
Namespace: OIV.Inventor
When the getValue method is called:
It searches for the environment variable in memory and returns the associated value if found,
If not found, it searches for the environment variable in the system environment.
If found in the system environment, the environment variable and its value are stored in memory for faster access the next time it is queried.
The return value is the address of a character string containing the associated value. This string may be empty if the name is defined but does not have an associated value.
The return value is NULL if the name was not found in the Open Inventor environment or the system environment.