# Plugins class

Namespace: [Grasshopper2.Framework](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.framework.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Plugins
```

Immutable collection of plugin data.

## Properties

- [Empty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/empty.md): (static) Create a new, empty Plugins instance.
- [FailedCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/failedcount.md): Gets the number of failed plugins.
- [FailedLocations](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/failedlocations.md): Enumerate over the failed locations.
- [Failures](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/failures.md): Enumerate over the failed data pairs.
- [Loaded](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/loaded.md): Enumerate over the loaded data triplets.
- [LoadedAssemblies](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/loadedassemblies.md): Enumerate over the loaded plugin assemblies.
- [LoadedCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/loadedcount.md): Gets the number of loaded plugins.
- [LoadedLocations](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/loadedlocations.md): Enumerate over the loaded locations.
- [LoadedPlugins](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/loadedplugins.md): Enumerate over the loaded plugin instances.
- [LoadingProgress](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/loadingprogress.md): Gets the progress factor (0.0 to 1.0). This is the ratio of all loaded+failed plugins to all known plugins.
- [ScopedCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/scopedcount.md): Gets the number of scoped locations.
- [ScopedLocations](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/scopedlocations.md): Enumerate over the scoped locations.

## Methods

- [AddFailedLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/addfailedlocation.md): Add a failed location to this Plugins instance. The location must currently already be part of the Scoped list.
- [AddLoadedPlugin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/addloadedplugin.md): Add a loaded plugin to this Plugins instance. The location must currently already be part of the Scoped list and may not be part of the failed list.
- [AddScopedLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/addscopedlocation.md): Add a scoped location to this Plugins instance.
- [FindFailureInfo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/findfailureinfo.md): Find the failure info (if any) associated with the given plugin location.
- [FindPlugin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/findplugin.md): Find the loaded plugin (if any) associated with the given location.
- [ForgetScopedLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/forgetscopedlocation.md): Remove a location from the scoped list.
- [IsLocationFailed](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/islocationfailed.md): Test whether a specific uri has already failed to load and is now part of the failed list.
- [IsLocationKnown](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/islocationknown.md): Test whether a specific uri is known at all.
- [IsLocationLoaded](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/islocationloaded.md): Test whether a specific uri is already part of the Loaded Locations list.
- [IsLocationScoped](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/islocationscoped.md): Test whether a specific uri is already part of the Scoped Locations list.
- [RemoveLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.plugins/removelocation.md): Remove a location from either the loaded or the failed lists.
