NPortComponentModel#

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

Represents an NPort component model.

Methods

NPortComponentModel.create(name)

Create an NPort component model.

NPortComponentModel.find_by_id(comp_def, value)

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

NPortComponentModel.find_by_name(comp_def, value)

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

Attributes

NPortComponentModel.id

int: Unique ID of the EDB object.

NPortComponentModel.is_null

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

NPortComponentModel.msg

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

NPortComponentModel.reference_file

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