> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RAInletsOutletsCollection

### *class* RAInletsOutletsCollection

Rocky PrePost Scripting wrapper for the collection of particle inputs in a project.

This wrapper corresponds to the “Inputs” item in the project’s data tree. To retrieve the
[`RAInletsOutletsCollection`](#generated.RAInletsOutletsCollection) from a [`RAStudy`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/RAStudy#generated.RAStudy), use:

```python theme={null}
input_collection = study.GetInletsOutletsCollection()
```

Instances of the [`RAInletsOutletsCollection`](#generated.RAInletsOutletsCollection) class act as regular Python lists, and can be
iterated on, accessed via index, etc:

```python theme={null}
input_1 = input_collection.New()
input_2 = input_collection[1]
del input_collection[0]
for input in input_collection:
    print(input.GetName())
```

Items in this list are of type [`RAParticleInlet`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/RAParticleInlet#generated.RAParticleInlet).

**Methods:**

| Name | Description |
| - | - |
| [`AddCustomInput`](#generated.RAInletsOutletsCollection.AddCustomInput)() | Add a new CustomInput. |
| [`AddFluidInlet`](#generated.RAInletsOutletsCollection.AddFluidInlet)() | Add a new SPHInlet. |
| [`AddOutlet`](#generated.RAInletsOutletsCollection.AddOutlet)() | Add a new Outlet. |
| [`AddParticleInlet`](#generated.RAInletsOutletsCollection.AddParticleInlet)() | Add a new ParticleInlet. |
| [`AddVolumetricInlet`](#generated.RAInletsOutletsCollection.AddVolumetricInlet)() | Add a new VolumeFill. |
| [`Clear`](#generated.RAInletsOutletsCollection.Clear)() | Remove all items from the list. |
| [`GetParticleInput`](#generated.RAInletsOutletsCollection.GetParticleInput)(input\_name) | Get the particle input with the given name. |
| [`GetParticleInputNames`](#generated.RAInletsOutletsCollection.GetParticleInputNames)() | Get the names of all particle inputs. |
| [`New`](#generated.RAInletsOutletsCollection.New)() | Add a new item. |
| [`Remove`](#generated.RAInletsOutletsCollection.Remove)(item) | Remove an item from the list. |

#### AddCustomInput()

Add a new CustomInput. Returns the newly created item.

#### AddFluidInlet()

Add a new SPHInlet. Returns the newly created item.

#### AddOutlet()

Add a new Outlet. Returns the newly created item.

#### AddParticleInlet()

Add a new ParticleInlet. Returns the newly created item.

#### AddVolumetricInlet()

Add a new VolumeFill. Returns the newly created item.

#### Clear()

Remove all items from the list.

#### GetParticleInput(input\_name)

Get the particle input with the given name.

* **Parameters:**
  **input\_name** (*unicode*)
* **Return type:**
  [RAParticleInlet](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/RAParticleInlet.md#generated.RAParticleInlet)

#### GetParticleInputNames()

Get the names of all particle inputs.

* **Return type:**
  list(unicode)

#### New()

Add a new item. Returns the newly created item.

* **Return type:**
  ApiElementItem

#### Remove(item: T)

Remove an item from the list.
