Std: Delete

From FreeCAD Documentation
This page is a translated version of the page Std Delete and the translation is 18% complete.
Outdated translations are marked like this.

Std Delete

Menu location
Edit → Delete
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
None

Descriere

Această comandaă șterge obiect(ul)ele selectate. Dacă nu este selectat nici un obiect, nimic nu se întâmplă.

Utilizare

Obiect(ul)ele selectatea pot fi șterse din document apăsând DEL, din meniul Edit → Delete, sau din vizualizarea arborescentă meniul contextual. Toate operațiunile de ștergere pot anulate(undone) și reluate(redone).

Scripting

See also: FreeCAD Scripting Basics.

To delete an object use the removeObject method of the document object.

import FreeCAD

FreeCAD.ActiveDocument.removeObject("myObjectName")