# GH_Format class

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

```cs
public sealed class GH_Format
```

Provides standard Grasshopper formatting functions.

## Methods

- [DefaultCulture](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/defaultculture.md): (static)
- [FormatAngularDimension](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatangulardimension.md): (static)
- [FormatAnnotationValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatannotationvalidity.md): (static) If the annotation is invalid, return a string describing why.
- [FormatArc](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatarc.md): (2 overloads, static)
- [FormatArcValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatarcvalidity.md): (static) If the arc is invalid, return a string describing why.
- [FormatBoolean](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatboolean.md): (2 overloads, static)
- [FormatBoundingBoxValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatboundingboxvalidity.md): (static) If the box is invalid, return a string describing why.
- [FormatBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatbox.md): (2 overloads, static)
- [FormatBoxValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatboxvalidity.md): (static) If the box is invalid, return a string describing why.
- [FormatBrep](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatbrep.md): (2 overloads, static)
- [FormatBrepValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatbrepvalidity.md): (static) If the brep is invalid, return a string describing why.
- [FormatCentermark](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcentermark.md): (static)
- [FormatCircle](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcircle.md): (2 overloads, static)
- [FormatCircleValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcirclevalidity.md): (static) If the circle is invalid, return a string describing why.
- [FormatClippingPlane](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatclippingplane.md): (static)
- [FormatClippingPlaneValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatclippingplanevalidity.md): (static) If the clipping plane is invalid, return a string describing why.
- [FormatColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcolour.md): (2 overloads, static)
- [FormatComplexNumber](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcomplexnumber.md): (2 overloads, static)
- [FormatComplexValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcomplexvalidity.md): (static) If the complex number is invalid, return a string describing why.
- [FormatCurve](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcurve.md): (2 overloads, static)
- [FormatCurveValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatcurvevalidity.md): (static) If the curve is invalid, return a string describing why.
- [FormatDate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatdate.md): (2 overloads, static)
- [FormatDetailView](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatdetailview.md): (static)
- [FormatDetailViewValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatdetailviewvalidity.md): (static) If the detail view is invalid, return a string describing why.
- [FormatDimension](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatdimension.md): (static)
- [FormatDouble](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatdouble.md): (2 overloads, static)
- [FormatDoubleValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatdoublevalidity.md): (static) If the number is invalid, return a string describing why.
- [FormatExtrusion](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatextrusion.md): (2 overloads, static)
- [FormatExtrusionValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatextrusionvalidity.md): (static) If the extrusion is invalid, return a string describing why.
- [FormatFilePath](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatfilepath.md): (2 overloads, static) Format a filepath so that it doesn't exceed a string length. If the filepath filename is already longer than maxLength it will be returned intact.
- [FormatGeometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatgeometry.md): (static)
- [FormatHatch](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formathatch.md): (static)
- [FormatHatchValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formathatchvalidity.md): (static) If the hatch is invalid, return a string describing why.
- [FormatInstanceReference](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatinstancereference.md): (static)
- [FormatInstanceReferenceValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatinstancereferencevalidity.md): (static) If the instance reference is invalid, return a string describing why.
- [FormatInteger](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatinteger.md): (2 overloads, static)
- [FormatInterval](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatinterval.md): (4 overloads, static)
- [FormatIntervalValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatintervalvalidity.md): (static) If the point is invalid, return a string describing why.
- [FormatKeys](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatkeys.md): (static) Format a keys enumeration as though it's a menu shortcut
- [FormatLeader](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatleader.md): (static)
- [FormatLightValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatlightvalidity.md): (static) If the light is invalid, return a string describing why.
- [FormatLine](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatline.md): (2 overloads, static)
- [FormatLinearDimension](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatlineardimension.md): (static)
- [FormatLineValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatlinevalidity.md): (static) If the line is invalid, return a string describing why.
- [FormatMatrix](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatmatrix.md): (2 overloads, static)
- [FormatMesh](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatmesh.md): (2 overloads, static)
- [FormatMeshFace](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatmeshface.md): (static)
- [FormatMeshFaceValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatmeshfacevalidity.md): (static) If the number is invalid, return a string describing why.
- [FormatMeshValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatmeshvalidity.md): (static) If the mesh is invalid, return a string describing why.
- [FormatOrdinateDimension](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatordinatedimension.md): (static)
- [FormatPlane](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatplane.md): (2 overloads, static)
- [FormatPlaneValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatplanevalidity.md): (static) If the plane is invalid, return a string describing why.
- [FormatPoint](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatpoint.md): (2 overloads, static)
- [FormatPointCloud](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatpointcloud.md): (3 overloads, static)
- [FormatPointCloudValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatpointcloudvalidity.md): (static) If the pointcloud is invalid, return a string describing why.
- [FormatPointValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatpointvalidity.md): (static) If the point is invalid, return a string describing why.
- [FormatRadialDimension](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatradialdimension.md): (static)
- [FormatRectangleValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatrectanglevalidity.md): (static) If the rectangle is invalid, return a string describing why.
- [FormatSingle](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatsingle.md): (static)
- [FormatString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatstring.md): (static) Replaces the format items in a string with the string representations of corresponding objects in a specified array.
- [FormatSubD](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatsubd.md): (2 overloads, static)
- [FormatSubDValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatsubdvalidity.md): (static) If the brep is invalid, return a string describing why.
- [FormatSurface](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatsurface.md): (2 overloads, static)
- [FormatSurfaceValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatsurfacevalidity.md): (static) If the surface is invalid, return a string describing why.
- [FormatTextDot](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formattextdot.md): (static)
- [FormatTextDotValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formattextdotvalidity.md): (static) If the text dot is invalid, return a string describing why.
- [FormatTextEntity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formattextentity.md): (3 overloads, static)
- [FormatTransformValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formattransformvalidity.md): (static) If the transform is invalid, return a string describing why.
- [FormatVector](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatvector.md): (2 overloads, static)
- [FormatVectorValidity](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/formatvectorvalidity.md): (static) If the point is invalid, return a string describing why.
- [RhinoUnitName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/rhinounitname.md): (2 overloads, static)
- [RhinoUnitSymbol](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/rhinounitsymbol.md): (2 overloads, static)
- [TreatAsCollection](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/treatascollection.md): (static) This method is used in Scripting components to determine whether a certain class was 'intended' as a collection or as a single piece of data .
- [TryGetName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-format/trygetname.md): (static)
