replace_rlc_by_gap_boundaries#
- Components.replace_rlc_by_gap_boundaries(component=None)[source]#
Replace RLC component by RLC gap boundaries. These boundary types are compatible with 3D modeler export. Only 2 pins RLC components are supported in this command.
- Parameters:
- component
str
Reference designator of the RLC component.
- component
- Returns:
- bool
True
when
succeed
,False
if
it
failed.
Examples
>>> from pyedb import Edb >>> edb = Edb(edb_file) >>> for refdes, cmp in edb.components.capacitors.items(): >>> edb.components.replace_rlc_by_gap_boundaries(refdes) >>> edb.save_edb() >>> edb.close_edb()