DesignPlanar.delete_component¶
- DesignPlanar.delete_component(component_name: str, force: bool = False) bool ¶
Deletes component and pins attached to said component.
If no component by that name is present, then just return True If component has dependencices return false and do not delete, unless force=True.
- Parameters
component_name (str) – Name of component to delete.
force (bool) – Force delete component even if it has children. Defaults to False.
- Returns
Is there no such component
- Return type
bool