ComponentDef#
- class ansys.edb.core.definition.component_def.ComponentDef(msg)#
Represents a component definition.
Methods
Add a component model to this component def.
ComponentDef.create(db, comp_def_name, fp)Create a component definition in a given database.
ComponentDef.find(db, comp_def_name)Find a component definition in a given database.
ComponentDef.get_product_property(prod_id, ...)Get the product property for a given product ID and attribute ID.
Get the list of property IDs for a given property ID.
Remove a component model from this component def.
ComponentDef.remove_pin(pin_to_remove)Remove the provided component pin from the component definition.
ComponentDef.reorder_pins(reordered_pins)Reorders the existing pins in the components definition to be in the same order as in the provided list.
ComponentDef.set_product_property(prod_id, ...)Set the product property for the given product ID and attribute ID.
Attributes
listofComponentModel: All component models associated with the component definition.listofComponentPin: All component pins of the component definition.DefinitionObjType: Definition type.Cell: Footprint of the component definition.int: Unique ID of the EDB object.bool: Flag indicating if the object exists in the database.EDBObjMessage: Protobuf message that represents the object's ID.str: Name of the component definition.