save_designs_as#
- abstract ParametricSystem.save_designs_as(hid: str, file_name: str, format: FileOutputFormat = FileOutputFormat.JSON, dir: Path | str | None = None) File #
Save designs for a given state.
- Parameters:
- Returns:
File
Object representing saved file.
- Raises:
OslCommunicationError
Raised when an error occurs while communicating with the server.
OslCommandError
Raised when a command or query fails.
TimeoutError
Raised when the timeout float value expires.
TypeError
Raised when incorrect type of
dir
is passed.ValueError
Raised when unsupported value of
format
or non-existinghid
is passed.
Deprecated since version 0.9.0: Use
ParametricSystem.save_designs_as_json()
orParametricSystem.save_designs_as_csv()
instead.