Grasshopper API
CentralSettingsSetLoadMechanism Method |
Sets the user defined load mechanism for a certain plugin.
Namespace: Grasshopper
Assembly: Grasshopper (in Grasshopper.dll)

public static void SetLoadMechanism( string pluginName, GH_LoadingDemand mechanism )
Public Shared Sub SetLoadMechanism ( pluginName As String, mechanism As GH_LoadingDemand )
Parameters
- pluginName
- Type: SystemString
The name of the plugin file (without the extension). - mechanism
- Type: Grasshopper.KernelGH_LoadingDemand
Load mechanism for this plugin.
