# GetCylinder 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 GetCylinder : IDisposable
```

Class provides user interface to define a cylinder.

## Constructors

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

## Finalizer

- [~GetCylinder](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [AroundDirectionMinimumCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/arounddirectionminimumcount.md): The minimum number of faces in the around direction.
- [BothSidesOption](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/bothsidesoption.md): Determine if the "both sides" option is enabled
- [Cap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/cap.md): Gets or sets whether or not the output should be capped.
- [CylinderConstraint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/cylinderconstraint.md): State of the cone/cylinder constraint option. When the cone/cylinder option is selected, the circle is being made as a base for a cone/cylinder. By default the vertical cone/cylinder option not available but is not selected. By default the "Vertical" option applies to VerticalCircle.
- [DefaultSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/defaultsize.md): Default radius or diameter (based on InDiameterMode)
- [Height](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/height.md): Height of cylinder
- [InDiameterMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/indiametermode.md): Determines if the "size" value is representing a radius or diameter
- [VerticalDirectionMinimumCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/verticaldirectionminimumcount.md): The minimum number of faces in the vertical direction.

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [Get](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/get.md): (2 overloads) Prompt for the getting of a cylinder.
- [GetMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getcylinder/getmesh.md): (2 overloads) Prompt for the getting of a mesh cylinder.
