RAClipPlaneCollection#
- class ansys.rocky.app.ra_clip_plane_collection.RAClipPlaneCollection(id: str, model_id: str | None = None)#
Bases:
ansys.rocky.app.api_element_item.ApiElementItemRocky PrePost Scripting wrapper for the collection of Clip Planes in a project.
This wrapper corresponds to the “3D Clip Planes” item in the project’s data tree. To retrieve the
RAClipPlaneCollectionfrom aRAProject, use:clip_planes_collection = project.Get3DClipPlanesCollection()
Overview#
Get a list with the name of the clip planes. |
|
Get the clip plane with the given name. |
|
Create a new clip plane with the (optionally) given name, origin and normal. |
|
Removes the given clip plane from the project. |
Import detail#
from ansys.rocky.app.ra_clip_plane_collection import RAClipPlaneCollection
Method detail#
- classmethod RAClipPlaneCollection.GetWrappedClass() type[rocky30.models.vizu_clip_plane.vizu_clip_plane_collection.VizuClipPlaneCollection]#
- RAClipPlaneCollection.GetClipPlaneByName(name: str) ansys.rocky.app.ra_clip_plane.RAClipPlane#
Get the clip plane with the given name.
- RAClipPlaneCollection.CreateClipPlane(name: str | None = None, origin: rocky30.base_types.Tuple3F | None = None, normal: rocky30.base_types.Tuple3F | None = None) ansys.rocky.app.ra_clip_plane.RAClipPlane#
Create a new clip plane with the (optionally) given name, origin and normal. Returns the newly created clip plane.
- RAClipPlaneCollection.RemoveClipPlane(clip_plane: ansys.rocky.app.ra_clip_plane.RAClipPlane | str) None#
Removes the given clip plane from the project.
- Parameters:
clip_plane – a RAClipPlane or its name