|
Menu location |
---|
Edit → Delete |
Workbenches |
All |
Default shortcut |
Del |
Introduced in version |
- |
See also |
None |
The Std Delete command deletes selected objects.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To delete an object use the removeObject
method of the document object.
import FreeCAD
FreeCAD.ActiveDocument.removeObject("myObjectName")