delete_design#

Mechanical.delete_design(name=None, fallback_design=None)[source]#

Delete a design from the current project.

Warning

This method does not work from the toolkit.

Parameters:
namestr, optional

Name of the design. The default is None, in which case the active design is deleted.

Returns:
bool

True when successful, False when failed.

References

>>> oProject.DeleteDesign