class RAGeometryCollection
Rocky PrePost Scripting wrapper for the collection of geometries in a project. The class represents the “Geometries” item on the project data tree. To get theRAGeometryCollection
from a RAStudy, use:
RAStudy.
Methods:
GetBoundingBox(time_step: coilib50.time.time_step_interface.ITimeStep | None, force_load: bool = False)
Get the bounding box containing all geometries in this collection, at the given time.- Parameters:
- time_step (ITimeStep) –
- force_load (bool) –
- Rtype (FixedArray, FixedArray):
- Returns: The bounding box of all the geometries in the passed time step, or None if the box could not be computed.
GetGeometry(geometry_name)
Get a geometry from its name.- Parameters: geometry_name (unicode) –
GetGeometryNames()
Get the names of the geometries in this collection.IterInletGeometries()
Iterate over the inlet geometries.IterInputGeometries()
Deprecated: UseIterInletGeometries() instead.