RATimeSeriesTranslation#

class ansys.rocky.app.motion.ra_time_series_translation.RATimeSeriesTranslation(id: str, model_id: str | None = None)#

Bases: ansys.rocky.app.api_element_item.ApiElementItem

Rocky PrePost Scripting wrapper representing a Time Series Translation motion.

Retrieve this specific wrapper after setting the correct motion type on a RAMotion. For example:

motions = motion_frame.GetMotions()
motion_1 = motions.New()
motion_1.SetType('Time Series Translation')
time_series_translation = motion_1.GetTypeObject()

Overview#

ImportTimeSeriesMotion

Generate the Time Series Motion Frame described on the contents of the file.

Import detail#

from ansys.rocky.app.motion.ra_time_series_translation import RATimeSeriesTranslation

Method detail#

classmethod RATimeSeriesTranslation.GetWrappedClass() type#
classmethod RATimeSeriesTranslation.GetClassName() str#
RATimeSeriesTranslation.ImportTimeSeriesMotion(file_path: str) None#

Generate the Time Series Motion Frame described on the contents of the file.

The accepted file extensions are CSV and XLSX.