How do I save and load any Tidy3D object?

How do I save and load any Tidy3D object?#

Date

Category

2023-12-03 20:34:44

Simulations

You can save/load Tidy3D objects to/from JSON files. If the object obj is an instance of ObjClass, save and load it with obj.to_file(fname=’path/to/file.json’) and obj = ObjClass.from_file(fname=’path/to/file.json’), respectively.