export#

DataSet.export(output_dir: str = None) bool#

Export the dataset.

Parameters:
output_dirstr, optional

Path to export the dataset to. The default is None, in which case the dataset is exported to the working_directory path.

Returns:
bool

True when successful, False when failed.

References

>>> oProject.ExportDataset
>>> oDesign.ExportDataset

Examples

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss()
>>> dataset = hfss.create_dataset1d_project("MyCurve", [0, 1], [1, 2])
>>> dataset.export()