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 theRAInletsOutletsCollection from a RAStudy, use:
RAInletsOutletsCollection class act as regular Python lists, and can be
iterated on, accessed via index, etc:
RAParticleInlet.
Methods:
AddContinuousInjection()
Add a new ContinuousInjection. Returns the newly created item.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
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