Adds a new path to Rhino's search path list. Search path items can be added manually by using Rhino's Options command and modifying the contents of the Files tab. See "Options Files settings" in the Rhino help file for more details.
Rhino.AddSearchPath (strFolder [, intIndex])
strFolder |
Required. String. A valid folder, or path, to add. |
intIndex |
Optional. Number. A zero-based position index in the search path list to insert the string. If omitted, the path will be appended to the end of the search path list. |
Number |
The zero-based index of the new search path item. If the index is less than zero, then the path item was not added to the search path list. |
Null |
On error. |
Rhino.AddSearchPath "C:\My RhinoScripts"