create_dataset3d#
- Q3d.create_dataset3d(name, x, y, z=None, v=None, x_unit='', y_unit='', z_unit='', v_unit='', is_project_dataset=True, sort=True)[source]#
Create a 3D dataset.
- Parameters:
- name
str
Name of the dataset (without a prefix for a project dataset).
- x
list
List of X-axis values for the dataset.
- y
list
List of Y-axis values for the dataset.
- z
list
,optional
List of Z-axis values for a 3D dataset only. The default is
None
.- v
list
,optional
List of V-axis values for a 3D dataset only. The default is
None
.- x_unit
str
,optional
Units for the X axis. The default is
""
.- y_unit
str
,optional
Units for the Y axis. The default is
""
.- z_unit
str
,optional
Units for the Z axis for a 3D dataset only. The default is
""
.- v_unit
str
,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
.
- name
- Returns:
ansys.aedt.core.application.variables.DataSet
Dataset object when the dataset is created,
False
otherwise.
References
>>> oDesign.AddDataset