GuiCommand: Name: Std Delete MenuLocation: Edit , Delete Workbenches: All Shortcut: Del
Std Delete
Description
The Std Delete command deletes selected objects.
Usage
- Select one or more objects.
- There are several ways to invoke the command:
Scripting
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")
⏵ documentation index > Std Delete
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Std_Delete.md