ComponentModel#

class ansys.edb.core.definition.component_model.ComponentModel(msg)#

Represents a component model.

Methods

ComponentModel.find_by_id(comp_def, value)

Find a component model by ID in a given component def.

ComponentModel.find_by_name(comp_def, value)

Find a component model by name in a given component def.

Attributes

ComponentModel.id

int: Unique ID of the EDB object.

ComponentModel.is_null

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

ComponentModel.msg

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

ComponentModel.reference_file

str: Name of the reference file associated with the component model.