create_dataset1d_project#

Mechanical.create_dataset1d_project(dsname, xlist, ylist, xunit='', yunit='')[source]#

Create a project dataset.

Parameters:
dsnamestr

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

xlistlist

List of X-axis values for the dataset.

ylistlist

List of Y-axis values for the dataset.

xunitstr, optional

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

yunitstr, optional

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

Returns:
pyaedt.application.Variables.DataSet

Dataset object when the dataset is created, False otherwise.

References

>>> oProject.AddDataset
>>> oDesign.AddDataset