export#
- Stackup.export(fpath, file_format='xml', include_material_with_layer=False)[source]#
Export stackup definition to a CSV or JSON file.
- Parameters:
- fpath
str
File path to csv or json file.
- file_format
str
,optional
Format of the file to export. The default is
"csv"
. Options are"csv"
,"xlsx"
,"json"
.- include_material_with_layerbool, optional.
Whether to include the material definition inside layer ones. This parameter is only used when a JSON file is exported. The default is
False
, which keeps the material definition section in the JSON file. IfTrue
, the material definition is included inside the layer ones.
- fpath
Examples
>>> from pyedb import Edb >>> edb = Edb() >>> edb.stackup.export("stackup.xml")