DatasetDef#

class ansys.edb.core.definition.dataset_def.DatasetDef(msg)#

Represents a dataset definition.

Methods

DatasetDef.create(database, name)

Create a dataset definition object.

DatasetDef.find_by_name(database, name)

Find a dataset definition by name in a given database.

DatasetDef.get_data()

Get a list of data points in the dataset definition.

DatasetDef.set_data(points)

Set a list of data points in the dataset definition.

Attributes

DatasetDef.definition_type

DefinitionObjType: Definition type.

DatasetDef.id

int: Unique ID of the EDB object.

DatasetDef.is_null

bool: Flag indicating if the object exists in the database.

DatasetDef.msg

EDBObjMessage: Protobuf message that represents the object's ID.

DatasetDef.name

str: Name of the dataset definition.