Skip to main content

class RASPHEulerianSolution

Rocky PrePost Scripting wrapper for SPH Eulerian Solution properties. This wrapper corresponds to the “Eulerian Solution” item on a project’s data tree. Access it from the RAStudy with:
Methods:

DisableEulerianSolution()

Set the value of “Eulerian Solution” to False.

EnableEulerianSolution()

Set the value of “Eulerian Solution” to True.

GetEulerianSolutionEnabled()

Delegates the method to the project sph settings.

GetMeshColoring(window: str | KAWorkspaceWindow)

Get the RAMeshColoring related to the current object and a window.
  • Parameters: window – The window that the coloring is acting. The window must be a str of the name of the window or a KAWorkspaceWindow.
  • Raises: RockyApiError – If window is not a str or KAWorkspaceWindow. Additionally, raises an error if no window is found or no coloring for the given item exists.

IsEulerianSolutionEnabled()

Check if the “Eulerian Solution” is enabled.

SetEulerianSolutionEnabled(value: bool)

Delegate the method to the project sph settings.
  • Parameters: value – The value to set.