RARegionsOfInterestCollection#
- class ansys.rocky.app.ra_regions_of_interest_collection.RARegionsOfInterestCollection(id: str, model_id: str | None = None)#
Bases:
ansys.rocky.app.ra_list.RAListRocky PrePost Scripting wrapper for the collection of Regions of Interest in a project.
This wrapper corresponds to the “Regions Of Interest” item in the project’s data tree. To retrieve the
RARegionsOfInterestCollectionfrom aRAStudy, use:roi_collection = study.GetRegionsOfInterestCollection()
Instances of the
RARegionsOfInterestCollectionclass act as regular Python lists, and can be iterated on, accessed via index, etc:
Overview#
Add a new Cube. Returns the newly created item. |
|
Add a new Cylinder. Returns the newly created item. |
Import detail#
from ansys.rocky.app.ra_regions_of_interest_collection import RARegionsOfInterestCollection
Method detail#
- classmethod RARegionsOfInterestCollection.GetWrappedClass() type[rocky30.models.regions_of_interest.roi_collection.RoiCollection]#
- RARegionsOfInterestCollection.AddCube(name: str | None = None) ansys.rocky.app.ra_region_of_interest_cube.RARegionOfInterestCube#
Add a new Cube. Returns the newly created item.
- RARegionsOfInterestCollection.AddCylinder(name: str | None = None) ansys.rocky.app.ra_region_of_interest_cylinder.RARegionOfInterestCylinder#
Add a new Cylinder. Returns the newly created item.