create_dataset3d#

Maxwell3d.create_dataset3d(name, x, y, z=None, v=None, x_unit='', y_unit='', z_unit='', v_unit='', is_project_dataset=True, sort=True)#

Create a 3D dataset.

Parameters:
namestr

Name of the dataset (without a prefix for a project dataset).

xlist

List of X-axis values for the dataset.

ylist

List of Y-axis values for the dataset.

zlist, optional

List of Z-axis values for a 3D dataset only. The default is None.

vlist, optional

List of V-axis values for a 3D dataset only. The default is None.

x_unitstr, optional

Units for the X axis. The default is "".

y_unitstr, optional

Units for the Y axis. The default is "".

z_unitstr, optional

Units for the Z axis for a 3D dataset only. The default is "".

v_unitstr, optional

Units for the V axis for a 3D dataset only. The default is "".

is_project_datasetbool, optional

Whether it is a project data set. The default is True.

sortbool, optional

Sort dataset. The default is True.

Returns:
ansys.aedt.core.application.variables.DataSet

Dataset object when the dataset is created, False otherwise.

References

>>> oDesign.AddDataset