save_designs_as_json#
- abstractmethod ParametricSystem.save_designs_as_json(hid: str, file_path: Path | str) File#
Save designs for a given state to JSON file.
- Parameters:
- Returns:
FileObject representing saved file.
- Raises:
OslCommunicationErrorRaised when an error occurs while communicating with the server.
OslCommandErrorRaised when a command or query fails.
TimeoutErrorRaised when the timeout float value expires.
TypeErrorRaised when the hid is None -or- file_path is None or unsupported type.
ValueErrorRaised when
hiddoes not exist.
Deprecated since version 0.9.3: Use
ParametricSystem.save_designs_as_json()orParametricSystem.design_manager.save_designs_as_csv()instead.