Skip to main content

Rocky PrePost scripting 2026 R1

RAPointCloudCollection

Last update: 23.02.2026

class RAPointCloudCollection

Rocky PrePost Scripting wrapper for the collection of point clouds in a project.

This wrapper corresponds to the “Point Clouds” item in the project’s data tree. To retrieve the RAPointCloudCollection from a RAStudy, use:

point_cloud_collection = study.GetPointCloudCollection()

Instances of the RAPointCloudCollection class act as regular Python lists, and can be iterated on, accessed via index, etc:

point_cloud_1 = point_cloud_collection.New()
point_cloud_2 = point_cloud_collection[1]
del point_cloud_collection[0]

Items in this list are of type RAPointCloud.

Methods:

Name Description
Clear() Remove all items from the list.
New() Add a new item.
Remove(item) Remove an item from the list.

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.

Connect with Ansys