create#

Components.create(pins, component_name, placement_layer=None, component_part_name=None, is_rlc=False, r_value=1.0, c_value=1e-09, l_value=1e-09, is_parallel=False)[source]#

Create a component from pins.

Parameters:
pinslist

List of EDB core pins.

component_namestr

Name of the reference designator for the component.

placement_layerstr, optional

Name of the layer used for placing the component.

component_part_namestr, optional

Part name of the component.

is_rlcbool, optional

Whether if the new component will be an RLC or not.

r_valuefloat

Resistor value.

c_valuefloat

Capacitance value.

l_valuefloat

Inductor value.

is_parallelbool

Using parallel model when True, series when False.

Returns:
bool

True when successful, False when failed.

Examples

>>> from pyaedt import Edb
>>> edbapp = Edb("myaedbfolder")
>>> pins = edbapp.components.get_pin_from_component("A1")
>>> edbapp.components.create(pins, "A1New")