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

The OIV.Inventor.SoInput class maintains a global list of directories that is searched to find files when opening them.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public static void AddEnvDirectoriesLast(
	string envVarName,
	string dirSep
)

Parameters

envVarName
Type: SystemString

The name of the environment variable.

dirSep
Type: SystemString

A string containing zero or more directory separator characters.

Remarks

Directories are searched in order. This routine adds directories named in the value of the given environment variable to the end of the list.

NOTE: On Microsoft Windows systems the default dirSep value causes a problem. For example, the string "C:/myDir" will be interpreted as two different directories "C/" and "/myDir".. To avoid this problem explicitly set dirSep to ";" (semicolon).

See Also