set_component_model#
- Components.set_component_model(componentname, model_type='Spice', modelpath=None, modelname=None)[source]#
Assign a Spice or Touchstone model to a component.
- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
Examples
>>> from pyedb import Edb >>> edbapp = Edb("myaedbfolder") >>> edbapp.components.set_component_model("A1", model_type="Spice", ... modelpath="pathtospfile", ... modelname="spicemodelname")