class RAParticleCollection
Rocky PrePost Scripting wrapper for the collection of particles in a project. This wrapper corresponds to the “Particles” item in the project’s data tree. To retrieve theRAParticleCollection from a RAStudy, use:
RAParticleCollection class act as regular Python lists, and can be
iterated on, accessed via index, etc:
RAParticle.
Methods:
Clear()
Remove all items from the list.GetParticle(particle_name: str)
Get a particle given its name.GetParticleNames()
Get a list of the names of all the particles in this collection.- Return type: list