# ModularInputAdder class

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

```cs
public sealed class ModularInputAdder
```

Utility class for adding component input parameters to [ModularComponent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularcomponent.md) instances.

## Constructors

- [ModularInputAdder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/ctor.md): Create a new adder.

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/count.md): Gets the number of parameters already registered.
- [RegularAdder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/regularadder.md): Gets the non-modular underlying input adder.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/item.md): Gets the parameter with the specified index.

## Methods

- [Add](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/add.md): Add a constructed parameter to this component.
- [AddAngle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addangle.md): Add an angle parameter to this component.
- [AddArc](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addarc.md): Add a 3D arc parameter to this component.
- [AddBoolean](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addboolean.md): Add a boolean parameter to this component.
- [AddBox](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addbox.md): Add a box parameter to this component.
- [AddCircle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addcircle.md): Add a 3D circle parameter to this component.
- [AddColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addcolour.md): Add an sRGB Eto colour parameter to this component.
- [AddComplex](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addcomplex.md): Add a complex number parameter to this component.
- [AddCurve](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addcurve.md): Add a generic (i.e. object) curve parameter to this component whose values are all supposed to be curve-like. This parameter will store a variety of types (including Line, Arc, Polyline, NurbsCurve, PolyCurve, ...) without conversion. Use the [CurveBroker](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.curvebroker.md) class to operate on generic curve data.
- [AddCurveLocus](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addcurvelocus.md): Add a [CurveLocusParameter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.curvelocusparameter.md) to this component.
- [AddDateTime](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/adddatetime.md): Add a Date/Time parameter to this component.
- [AddDeform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/adddeform.md): Add a non-linear deformation parameter to this component.
- [AddEnum<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addenum.md): Add an integer parameter with loaded presets from an enumeration to this component. The enum must derive from [int](https://learn.microsoft.com/dotnet/api/system.int32) and it's probably not a good idea to use a [Flags] enumeration.
- [AddField](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addfield.md): Add a 3D field parameter to this component.
- [AddFunction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addfunction.md): Add a function parameter to this component.
- [AddGeneric](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addgeneric.md): Add a generic parameter which is not limited to any one data type.
- [AddGradient](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addgradient.md): Add a colour gradient parameter to this component.
- [AddGraph](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addgraph.md): Add a node-edge graph parameter to this component.
- [AddHidden](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhidden.md): Add a constructed parameter to this component which is hidden by default.
- [AddHiddenAngle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenangle.md): Add an angle parameter to this component.
- [AddHiddenArc](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenarc.md): Add a 3D arc parameter to this component.
- [AddHiddenBoolean](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenboolean.md): Add a boolean parameter to this component.
- [AddHiddenBox](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenbox.md): Add a box parameter to this component.
- [AddHiddenCircle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddencircle.md): Add a 3D circle parameter to this component.
- [AddHiddenColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddencolour.md): Add an sRGB Eto colour parameter to this component.
- [AddHiddenComplex](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddencomplex.md): Add a complex number parameter to this component.
- [AddHiddenCurve](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddencurve.md): Add a generic (i.e. object) curve parameter to this component whose values are all supposed to be curve-like. This parameter will store a variety of types (including Line, Arc, Polyline, NurbsCurve, PolyCurve, ...) without conversion. Use the [CurveBroker](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.curvebroker.md) class to operate on generic curve data.
- [AddHiddenCurveLocus](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddencurvelocus.md): Add a [CurveLocusParameter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.standard.curvelocusparameter.md) to this component.
- [AddHiddenDateTime](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddendatetime.md): Add a Date/Time parameter to this component.
- [AddHiddenDeform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddendeform.md): Add a non-linear deformation parameter to this component.
- [AddHiddenEnum<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenenum.md): Add an integer parameter with loaded presets from an enumeration to this component. The enum must derive from [int](https://learn.microsoft.com/dotnet/api/system.int32) and it's probably not a good idea to use a [Flags] enumeration.
- [AddHiddenField](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenfield.md): Add a 3D field parameter to this component.
- [AddHiddenFunction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenfunction.md): Add a function parameter to this component.
- [AddHiddenGeneric](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddengeneric.md): Add a generic parameter which is not limited to any one data type.
- [AddHiddenGradient](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddengradient.md): Add a colour gradient parameter to this component.
- [AddHiddenGraph](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddengraph.md): Add a node-edge graph parameter to this component.
- [AddHiddenInteger](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddeninteger.md): Add an integer parameter to this component.
- [AddHiddenInterval](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddeninterval.md): Add an interval parameter to this component.
- [AddHiddenLine](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenline.md): Add a 3D line parameter to this component.
- [AddHiddenMesh](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenmesh.md): Add a mesh parameter to this component.
- [AddHiddenMeshFacet](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenmeshfacet.md): Add a mesh face parameter to this component.
- [AddHiddenMetaData](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenmetadata.md): Add a meta data parameter to this component.
- [AddHiddenMetaKey](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenmetakey.md): Add a meta data key parameter to this component.
- [AddHiddenNPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddennpoint.md): Add an N-point parameter to this component.
- [AddHiddenNumber](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddennumber.md): Add a 64-bit floating-point parameter to this component.
- [AddHiddenNumeric](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddennumeric.md): Add a generic numeric parameter to this component with no support for Angles, Complex number or BigIntegers.
- [AddHiddenPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenpath.md): Add a path parameter to this component.
- [AddHiddenPlane](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenplane.md): Add a 3D plane parameter to this component.
- [AddHiddenPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenpoint.md): Add a 3D point parameter to this component.
- [AddHiddenPolyline](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenpolyline.md): Add a polyline parameter to this component.
- [AddHiddenRectangle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenrectangle.md): Add a 3D rectangle parameter to this component.
- [AddHiddenRegion](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenregion.md): Add a 2D region parameter to this component.
- [AddHiddenSite](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddensite.md): Add a site parameter to this component.
- [AddHiddenSphere](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddensphere.md): Add a sphere parameter to this component.
- [AddHiddenSurface](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddensurface.md): Add a surface parameter to this component.
- [AddHiddenSurfaceLocus](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddensurfacelocus.md): Add a [ModularInputAdder.AddSurfaceLocus(string, string, string, string, Color, Access, Requirement)](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addsurfacelocus.md) to this component.
- [AddHiddenText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddentext.md): Add a text parameter to this component.
- [AddHiddenTextPattern](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddentextpattern.md): Add a text-pattern parameter to this component.
- [AddHiddenTimeSpan](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddentimespan.md): Add a time span parameter to this component.
- [AddHiddenTransform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddentransform.md): Add a linear transformation parameter to this component.
- [AddHiddenTriangle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddentriangle.md): Add a 3D triangle parameter to this component.
- [AddHiddenTube](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddentube.md): Add a tube parameter to this component.
- [AddHiddenTuple](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddentuple.md): Add a tuple parameter.
- [AddHiddenUvPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenuvpoint.md): Add a 2D point parameter to this component.
- [AddHiddenVector](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addhiddenvector.md): Add a 3D vector parameter to this component.
- [AddInteger](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addinteger.md): Add an integer parameter to this component.
- [AddInterval](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addinterval.md): Add an interval parameter to this component.
- [AddLine](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addline.md): Add a 3D line parameter to this component.
- [AddMesh](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addmesh.md): Add a mesh parameter to this component.
- [AddMeshFacet](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addmeshfacet.md): Add a mesh face parameter to this component.
- [AddMetaData](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addmetadata.md): Add a meta data parameter to this component.
- [AddMetaKey](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addmetakey.md): Add a meta data key parameter to this component.
- [AddNPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addnpoint.md): Add an N-point parameter to this component.
- [AddNumber](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addnumber.md): Add a 64-bit floating-point parameter to this component.
- [AddNumeric](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addnumeric.md): Add a generic numeric parameter to this component with no support for Angles, Complex number or BigIntegers.
- [AddPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addpath.md): Add a path parameter to this component.
- [AddPlane](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addplane.md): Add a 3D plane parameter to this component.
- [AddPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addpoint.md): Add a 3D point parameter to this component.
- [AddPolyline](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addpolyline.md): Add a polyline parameter to this component.
- [AddRectangle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addrectangle.md): Add a 3D rectangle parameter to this component.
- [AddRegion](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addregion.md): Add a 2D region parameter to this component.
- [AddSite](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addsite.md): Add a site parameter to this component.
- [AddSphere](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addsphere.md): Add a sphere parameter to this component.
- [AddSurface](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addsurface.md): Add a surface parameter to this component.
- [AddSurfaceLocus](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addsurfacelocus.md): Add a [ModularInputAdder.AddSurfaceLocus(string, string, string, string, Color, Access, Requirement)](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addsurfacelocus.md) to this component.
- [AddText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addtext.md): Add a text parameter to this component.
- [AddTextPattern](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addtextpattern.md): Add a text-pattern parameter to this component.
- [AddTimeSpan](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addtimespan.md): Add a time span parameter to this component.
- [AddTransform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addtransform.md): Add a linear transformation parameter to this component.
- [AddTriangle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addtriangle.md): Add a 3D triangle parameter to this component.
- [AddTube](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addtube.md): Add a tube parameter to this component.
- [AddTuple](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addtuple.md): Add a tuple parameter.
- [AddUvPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/adduvpoint.md): Add a 2D point parameter to this component.
- [AddVector](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.modularinputadder/addvector.md): Add a 3D vector parameter to this component.
