Click or drag to resize

GH_SettingsServer Constructor (String, Boolean)

Create a new instance of the GH_SettingsServer class. The server will be associated with a settings xml file in the %ApplicationData%\Grasshopper\ directory.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public GH_SettingsServer(
	string databaseName,
	bool loadSettings
)

Parameters

databaseName
Type: SystemString
The name of the settings server (equals the name of the xml file so it must adhere to FAT, FAT32 and NTFS naming conventions).
loadSettings
Type: SystemBoolean
When true and a file with the same name already exists, its settings will be automatically loaded.
See Also