create_dataset1d_project#
- Mechanical.create_dataset1d_project(name, x, y, x_unit='', y_unit='', sort=True)#
Create a project dataset.
- Parameters:
- name
str Name of 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.
- x_unit
str,optional Units for the X axis. The default is
"".- y_unit
str,optional Units for the Y axis. The default is
"".- sortbool,
optional Sort dataset. The default is
True.
- name
- Returns:
ansys.aedt.core.application.variables.DataSetDataset object when the dataset is created,
Falseotherwise.
References
>>> oProject.AddDataset >>> oDesign.AddDataset