export_to_json#

Weave.export_to_json(output_file: str | Path) bool#

Export current weave parameters to a JSON file.

Parameters:
output_file: str or :class:`pathlib.Path`

Full path to the file, including its extension.

Returns:
bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.core.modeler.advanced_cad.weave import Weave
>>> weave = Weave()
>>> weave.export_to_json(r"C:\Temp\parameters.json")