# PickContext class

Namespace: [Rhino.Input.Custom](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.input.custom.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class PickContext : IDisposable
```

Utility for determining if objects are picked

## Constructors

- [PickContext](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/ctor.md)

## Finalizer

- [~PickContext](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/finalize.md)

## Properties

- [GetObjectUsed](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/getobjectused.md)
- [PickGroupsEnabled](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/pickgroupsenabled.md): True if GroupObjects should be added to the pick list
- [PickLine](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/pickline.md): pick chord starts on near clipping plane and ends on far clipping plane.
- [PickMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/pickmode.md)
- [PickStyle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/pickstyle.md)
- [SubObjectSelectionEnabled](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/subobjectselectionenabled.md): True if the user had activated sub-object selection
- [View](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/view.md): This view can be a model view or a page view. When view is a page view, then you need to distinguish between the viewports MainViewport() and ActiveViewport(). When m_view is a model view, both MainViewport() and ActiveViewport() return the world view's viewport.

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/dispose.md): (2 overloads)
- [PickFrustumTest](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/pickfrustumtest.md): (9 overloads)
- [PickMeshTopologyVertices](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/pickmeshtopologyvertices.md): Utility for picking mesh vertices
- [SetPickTransform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/setpicktransform.md)
- [UpdateClippingPlanes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.pickcontext/updateclippingplanes.md): Updates the clipping plane information in pick region. The SetClippingPlanes and View fields must be called before calling UpdateClippingPlanes().
