Skip to main content

class RAParticleAssemblyPartList

Rocky PrePost Scripting wrapper for the parts list in a single Particle Assembly. To get the RAParticleAssemblyPartList from a RAParticleAssembly, use:
RAParticleAssemblyPartList contains methods to add, remove and retrieve individual assembly parts. It corresponds to the list of entries on a Particle Assembly’s “Shape” tab on the Rocky UI. The following examples add, remove and access individual entries in the assembly parts list:
The RAParticleAssemblyPartList is a list of RAParticleAssemblyPart. Methods:

Clear()

Remove all items from the list.

New()

Add a new item. Returns the newly created item.

Remove(item: T)

Remove an item from the list.