Folders
Provides access to all standard Grasshopper file and folder locations.
Properties
AssemblyFolders
#Gets a list of all the directories from which GHA assemblies are loaded. Note: this is not the same as all folders from which GHA files were loaded at startup. This list includes the default Grasshopper folders, custom GHA folders and the locations provided by Rhino.Runtime.HostUtils.GetAssemblySearchPaths(). Folders which do not contain GHA files are omitted, as are duplicate entries.
Returns: A list of load target directories.
AutoSaveFolder
#Gets the directory in windows ApplicationData that contains the Grasshopper autosave files.
Returns: A directory path.
ClusterFolders
#Gets a list of all the directories from which GHCLUSTER files are loaded. GHUSER files are loaded from subfolders as well.
Returns: A list of load target directories.
CustomAssemblyFolders
#Gets or sets all custom assembly folders.
DefaultAssemblyFolder
#Gets the standard directory in windows ApplicationData that contains 3rd party GHA files.
Returns: A directory path.
DefaultAssemblyFolderVersion6
#[EditorBrowsable(EditorBrowsableState.Never)]
public static string DefaultAssemblyFolderVersion6 { get; }
Gets the standard directory in windows ApplicationData that contains 3rd party GHA files on v6.
Returns: A directory path.
DefaultClusterFolder
#Gets the standard directory in windows ApplicationData that contains GHCLUSTER files.
Returns: A directory path.
DefaultTemplateFolder
#Gets the standard directory in windows ApplicationData that contains template files.
Returns: A directory path.
DefaultUserObjectFolder
#Gets the standard directory in windows ApplicationData that contains GHUSER files.
Returns: A directory path.
DownloaderApplication
#Gets the location where the Downloader.exe should be. If the application is not present, null is returned.
FileViewerApplication
#Gets the location where the FileViewer.exe should be. If the application is not present, null is returned.
ImageStitcherApplication
#Gets the location where the ImageStitcher.exe should be. If the application is not present, null is returned.
SDKDownloaderApplication
#Gets the location where the SDKDownloader.exe should be. If the application is not present, null is returned.
SettingsFolder
#Gets the folder into which all Grasshopper settings are stored. This folder might not exist until some settings are actually saved.
TemplateFolders
#Gets a list of all the directories from which template files are loaded. Templates are not loaded from subfolders.
Returns: A list of load target directories.
ToolsFolder
#obsoleteThere no longer is a Tools folder, all tools are now directly in the PluginFolder
Gets the directory that contains the additional executables that ship with Grasshopper.
TutorialFiles
#Gets an array of all the tutorial files. This includes all the files with the *.gh or *.ghx extension in the Tutorials folder. Subfolders are not traversed.
UserObjectFolders
#Gets a list of all the directories from which GHUSER files are loaded. GHUSER files are loaded from subfolders as well.
Returns: A list of load target directories.
VersionHistoryFile
#Gets the text file location where Grasshopper will save the latest version information.