save_snapshot#
- class ansys.systemcoupling.core.adaptor.api_25_2.save_snapshot.save_snapshot(name=None, parent=None)#
Bases:
CommandSaves a snapshot of the current state of the simulation. Snapshot will contain all files and directories within the working directory that are tracked by System Coupling: the SyC directory and the working directories of all loaded participants. Before saving the snapshot, the current datamodel will be saved.
Note: Snapshot cannot be saved if participants have been started.
Note: If files required for cosimulation are not stored within the working directory, then they will not be included in the snapshot.
- Parameters:
- snapshot_name
str Name of the snapshot to be saved.
- overwrite_existingbool,
optional Boolean argument controlling whether an existing snapshot should be overwritten. If
True, then an existing snapshot namedsnapshot_namewill be overwritten if it exists. IfFalse(default), then ifsnapshot_nameis shared with an existing snapshot, a warning will be written and the command will return without saving the snapshot.
- snapshot_name
Included in:
Parent |
Summary |
|---|---|
‘root’ object |