Description:
Adds a new imagePath to Rhino's search imagePath list. See "Options Files settings" in the Rhino help file for more details.
Parameters:
- folder
- Type: string
- [in] The valid folder, or imagePath, to add.
- index
- Type: int
- [in] A zero-based position index in the search imagePath list to insert the string. If -1, the imagePath will be appended to the end of the list.
Returns:
Type: int
The index where the item was inserted if success.
-1 on failure.
Available since:
5.0