RAPointCloud#
- class ansys.rocky.app.ra_point_cloud.RAPointCloud#
Bases:
ansys.rocky.app.ra_grid_process_element.RAGridProcessElementItem,ansys.rocky.app.ra_addins.ElementWithAddins,ansys.rocky.app.motion._with_movement_mixin._WithMovementMixinRocky PrePost Scripting wrapper for a point cloud in the project.
The wrapper corresponds to an individual PointCloud in the project’s data tree, below the “Point Clouds” item. PointCloud can be retrieved from the
RAStudyor theRAPointCloudCollectionvia:point_cloud_1 = study.GetElement('Point Cloud 1') point_cloud_2 = point_cloud_collection[1]
Overview#
Get the value of “File Path”. |
|
Set the path of the file that will be used to generate the point cloud |
|
Returns True if the Point Cloud is transient, False otherwise. |
|
Get the value of “Enable Periodic”. |
|
Set the value of “Enable Periodic”. |
|
Set the value of “Periodic” to True. |
|
Set the value of “Periodic” to False. |
|
Check if the “Periodic” is enabled. |
|
Get the value of “Periodic Start Time”. |
|
Set the value of “Periodic Start Time”. |
|
Get the value of “Periodic Stop Time”. |
|
Set the value of “Periodic Stop Time”. |
|
Get the value of “Search Cut Off”. |
|
Set the value of “Search Cut Off”. |
|
Get the value of “Search Cut Off Distance”. |
|
Set the value of “Search Cut Off Distance”. |
Import detail#
from ansys.rocky.app.ra_point_cloud import RAPointCloud
Method detail#
- RAPointCloud.SetFilePath(file_path: str | pathlib.Path) None#
Set the path of the file that will be used to generate the point cloud described on the content of the file.
The accepted file extensions is “.txt”.
- RAPointCloud.SetEnablePeriodic(value: bool) None#
Set the value of “Enable Periodic”.
- Parameters:
value – The value to set.
- RAPointCloud.GetPeriodicStartTime(unit: str | None = None) float#
Get the value of “Periodic Start Time”.
- Parameters:
unit – The unit for the returned value. If no unit is provided, the returned value will be in “s”.
- RAPointCloud.SetPeriodicStartTime(value: str | float, unit: str | None = None) None#
Set the value of “Periodic Start Time”.
- Parameters:
value – The value to set. This value can be an expression with input variables or float type.
unit – The unit for value. If no unit is provided, value is assumed to be in “s”.
- RAPointCloud.GetPeriodicStopTime(unit: str | None = None) float#
Get the value of “Periodic Stop Time”.
- Parameters:
unit – The unit for the returned value. If no unit is provided, the returned value will be in “s”.
- RAPointCloud.SetPeriodicStopTime(value: str | float, unit: str | None = None) None#
Set the value of “Periodic Stop Time”.
- Parameters:
value – The value to set. This value can be an expression with input variables or float type.
unit – The unit for value. If no unit is provided, value is assumed to be in “s”.
- RAPointCloud.SetSearchCutOff(value: bool) None#
Set the value of “Search Cut Off”.
- Parameters:
value – The value to set.
- RAPointCloud.GetSearchCutOffDistance(unit: str | None = None) float#
Get the value of “Search Cut Off Distance”.
- Parameters:
unit – The unit for the returned value. If no unit is provided, the returned value will be in “m”.
- RAPointCloud.SetSearchCutOffDistance(value: str | float, unit: str | None = None) None#
Set the value of “Search Cut Off Distance”.
- Parameters:
value – The value to set. This value can be an expression with input variables or float type.
unit – The unit for value. If no unit is provided, value is assumed to be in “m”.