# FunctionArguments class

Namespace: [Grasshopper2.UI.Graphing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.graphing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[IoId("00000000-f527-49d9-8caf-a632c5555bfb")]
public sealed class FunctionArguments : IStorable
```

Collection of all function arguments.

## Constructors

- [FunctionArguments](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/ctor.md): (2 overloads)

## Properties

- [All](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/all.md): Enumerate over all defined parameters.
- [AllScalars](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/allscalars.md): Enumerate over all defined scalar parameters.
- [AllSelectedVectors](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/allselectedvectors.md): Enumerate over all selected vector parameters.
- [AllVectors](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/allvectors.md): Enumerate over all defined vector parameters.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/count.md): Gets the number of parameters.
- [ScalarCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/scalarcount.md): Gets the number of scalar parameters.
- [VectorCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/vectorcount.md): Gets the number of vector parameters.
- [Visible](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/visible.md): Gets or sets whether the arguments are visible in the function editor.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/item.md): (2 overloads) Get the parameter with the specified identifier.

## Methods

- [AddReferent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/addreferent.md): Add a referenced scalar to this collection.
- [AddScalar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/addscalar.md): Add a scalar to this collection.
- [AddVector](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/addvector.md): (2 overloads) Add a vector to this collection.
- [AdjustReferent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/adjustreferent.md): (2 overloads) Adjust an operand based on new linking data.
- [AdjustScalar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/adjustscalar.md): Adjust a scalar based on its origin value and a given offset.
- [AdjustVectors](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/adjustvectors.md): (2 overloads) Adjust all specified vectors by some motion. The vectors are moved from their origin points, not their current points.
- [Clear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/clear.md): Delete all arguments.
- [Contains](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/contains.md): (2 overloads) Tests whether a certain scalar is defined in this collection.
- [Delete](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/delete.md): Delete a specific operand.
- [DeselectAll](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/deselectall.md): Deselect all vector grips.
- [FindScalar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/findscalar.md): (2 overloads) Find the scalar with the given index.
- [FindVector](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/findvector.md): (2 overloads) Find the vector with the given index.
- [LowestUnusedIndex](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/lowestunusedindex.md): Gets the lowest, non-negative unused argument index.
- [OnArgumentsAdded](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/onargumentsadded.md)
- [OnArgumentsChanged](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/onargumentschanged.md)
- [OnArgumentsRemoved](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/onargumentsremoved.md)
- [PickSelect](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/pickselect.md): Perform a vector grip pick selection in graph coordinates.
- [RevertToSavedStates](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/reverttosavedstates.md): Revert all vectors and scalars in this collection to their original values.
- [SelectAll](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/selectall.md): Select all vector grips.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/store.md)
- [UpdateReferents](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/updatereferents.md): Update all referents that link to the given ui with the new UI function.
- [UpdateSavedStates](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/updatesavedstates.md): Set all vector and scalar origins to their current values.
- [VectorAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/vectorat.md): Find the vector grip closest to a given coordinate.
- [VectorBounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/vectorbounds.md): Gets the boundingbox of all the vector arguments.
- [WindowSelect](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/windowselect.md): Perform a vector grip window selection in graph coordinates.

## Events

- [ArgumentsAdded](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/argumentsadded.md): Raised whenever one or more arguments are added.
- [ArgumentsChanged](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/argumentschanged.md): Raised whenever one or more arguments are changed.
- [ArgumentsRemoved](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.functionarguments/argumentsremoved.md): Raised whenever one or more arguments are removed.
