save_random_vibe_profile#

Lifecycle.save_random_vibe_profile(request)#

Save a random vibe life cycle event profile to a .dat or .csv file.

Available Since: 2026R1

Parameters:
requestSaveRandomVibeProfileRequest

Request object containing the information needed to save a random vibe profile.

Returns:
:
SherlockCommonService_pb2.ReturnCode

Status code of the response. 0 for success.

Return type:

ReturnCode

Examples

>>> from ansys.sherlock.core.types.lifecycle_types import SaveRandomVibeProfileRequest
>>> from ansys.sherlock.core.launcher import launch_sherlock
>>> sherlock = launch_sherlock()
>>> response = sherlock.lifecycle.save_random_vibe_profile(
>>>     SaveRandomVibeProfileRequest(
>>>         project="MyProject",
>>>         phase_name="RandomVibePhase",
>>>         event_name="RV_Event_01",
>>>         file_path="/tmp/RV_Event_01.dat",
>>>     )
>>> )
>>> assert response.value == 0