ansys / pyedb

pyedb is a Python library to use the EDB client library.
https://edb.docs.pyansys.com/
MIT License
3 stars 0 forks source link

Bug located in edb.stackup.export #395

Open ring630 opened 2 weeks ago

ring630 commented 2 weeks ago

Before submitting the issue

Description of the bug

PyEDB ERROR: ATTRIBUTE ERROR on _export_layer_stackup_to_json PyEDB ERROR: 'Material' object has no attribute '_json_format' PyEDB ERROR: File "D:_pycharm_project\pyaedt-examples\venv\lib\site-packages\pyedb\dotnet\edb_core\stackup.py", line 789, in export PyEDB ERROR: return self._export_layer_stackup_to_json(fpath, include_material_with_layer) PyEDB ERROR: File "D:_pycharm_project\pyaedt-examples\venv\lib\site-packages\pyedb\dotnet\edb_core\stackup.py", line 861, in _export_layer_stackup_to_json PyEDB ERROR: Method arguments: PyEDB ERROR: output_file = stk.json

Steps To Reproduce

edbapp.stackup.export("stk.json")

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

all

ring630 commented 2 weeks ago

Update The problem only exist in non grpc mode.