Skip to main content

Rocky PrePost scripting 2025 R1

RACalculations

Last update: 17.07.2025

class RACalculations

Rocky api for particles calculations

Methods:

Name Description
CreateDivisionsTagging(selection) Create a Divisions Tagging calculator for the given particle-based selection process.
CreateSelectionFlipCount(selection) Create a flip count grid function for the given selection process
CreateSelectionResidenceTime(selection) Create a residence time grid function for the given selection process
CreateSelectionTagging(selection) Deprecated: Use CreateTagging() instead.
CreateTagging(selection) Create a Tagging calculator for the given particle-based selection process.
GetDivisionsTagging(name) Get the Divisions Tagging calculator with the given name.
GetDivisionsTaggingNames() Get a list of the names of all Divisions Taggings in Particles Calculations.
GetTagging(name) Get the Tagging calculator with the given name.
GetTaggingNames() Get a list of the names of all Taggings in Particles Calculations.

CreateDivisionsTagging(selection: RAGridProcessElementItem)

Create a Divisions Tagging calculator for the given particle-based selection process.

  • Parameters: selection – Must be a particle selection type.

CreateSelectionFlipCount(selection: RAGridProcessElementItem)

Create a flip count grid function for the given selection process

CreateSelectionResidenceTime(selection: rocky30.plugins.api.ra_grid_process_element.RAGridProcessElementItem | str)

Create a residence time grid function for the given selection process

CreateSelectionTagging(selection: RAGridProcessElementItem)

Deprecated: Use CreateTagging() instead.

CreateTagging(selection: RAGridProcessElementItem)

Create a Tagging calculator for the given particle-based selection process.

  • Parameters: selection – Must be a particle selection type.

GetDivisionsTagging(name: str)

Get the Divisions Tagging calculator with the given name.

GetDivisionsTaggingNames()

Get a list of the names of all Divisions Taggings in Particles Calculations.

GetTagging(name: str)

Get the Tagging calculator with the given name.

GetTaggingNames()

Get a list of the names of all Taggings in Particles Calculations.

Connect with Ansys