# Commands module

Namespace: [Grasshopper.Plugin](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.plugin.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public module Commands
```

Contains command logic for all standard Grasshopper commands.

## Properties

- [BakeDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/bakedocument.md): (static) Gets or sets the document that will be baked. If you set the document, default Bake behaviour kicks in and all selected objects will be baked.
- [BakeObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/bakeobject.md): (static) Gets or sets the active object for baking operations. If you do not set a document, then you can choose to set the active object. Specific bake behaviour kicks in.

## Methods

- [Run_Grasshopper](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopper.md): (static) Run the _Grasshopper command logic.
- [Run_GrasshopperBake](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopperbake.md): (2 overloads, static) Run the _GrasshopperBake command logic. This command requires either the BakeDocument or the BakeObject fields to be set. This command is typically run from within the Grasshopper GUI, it should be hidden from the user.
- [Run_GrasshopperExportHelp](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopperexporthelp.md): (static) Run the _GrasshopperExportHelp command logic.
- [Run_GrasshopperFolders](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopperfolders.md): (static) Run the _GrasshopperFolder command.
- [Run_GrasshopperGetSDKDocumentation](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshoppergetsdkdocumentation.md): (static) Run the _GrasshopperDownloadSDKDocumentation command logic.
- [Run_GrasshopperOpen](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopperopen.md): (2 overloads, static) Run the GrasshopperOpen command logic.
- [Run_GrasshopperReloadAssemblies](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopperreloadassemblies.md): (static) Run the _GrasshopperReloadMemoryAssemblies command logic.
- [Run_GrasshopperScripted](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopperscripted.md): (static) Run the -_Grasshopper command logic (the scripted version).
- [Run_GrasshopperUnloadPlugin](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.commands/run-grasshopperunloadplugin.md): (static) Run the _GrasshopperUnloadPlugin command logic.
