# UnitSystem class

Namespace: [Grasshopper2.Parameters.Standard](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.parameters.standard.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[IoId("00000000-9e7c-4faf-87c4-673462299b4a")]
public sealed class UnitSystem : IStorable, IEquatable<UnitSystem>, IComparable<UnitSystem>
```

## Constructors

- [UnitSystem](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/ctor.md): (3 overloads)

## Properties

- [Factor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/factor.md): Gets the additional scaling factor to be applied to the system.
- [System](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/system.md): Gets the system for this instance.

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/compareto.md)
- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/equals.md): (2 overloads)
- [GetHashCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/gethashcode.md)
- [ResolveScalingFactor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/resolvescalingfactor.md): (static) Compute the scaling factor required to go from one unit system to another.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/store.md)
- [ToName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/toname.md): (static)
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/tostring.md): (2 overloads)
- [ToUnit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/tounit.md): (static)
- [TryParse](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/tryparse.md): (static)
- [TryParseSystem](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/tryparsesystem.md): (static) Tru and parse a unit system from a string. If the parsing fails, [UnitSystem.Unset](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.unitsystem/) will be returned.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.unitsystem/op-implicit.md): (2 overloads, static)
