Std Delete/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "Std: Usuń")
 
(Created page with "{{Docnav/pl |Zaznacz wszystko |Wyślij do konsoli Python |Menu Edycja |IconL=Std_SelectAll.svg |IconR=...")
Line 1: Line 1:
<languages/>
<languages/>


{{Docnav
{{Docnav/pl
|[[Std_SelectAll|SelectAll]]
|[[Std_SelectAll/pl|Zaznacz wszystko]]
|[[Std_SendToPythonConsole|SendToPythonConsole]]
|[[Std_SendToPythonConsole/pl|Wyślij do konsoli Python]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu/pl|Menu Edycja]]
|IconL=Std_SelectAll.svg
|IconL=Std_SelectAll.svg
|IconR=Std_SendToPythonConsole.svg
|IconR=Std_SendToPythonConsole.svg

Revision as of 18:01, 16 May 2022

Std Delete

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

Description

The Std Delete command deletes selected objects.

Usage

  1. Select one or more objects.
  2. There are several ways to invoke the command:
    • Select the Edit → Delete option from the menu.
    • Select the Delete option from the Tree view context menu or 3D view context menu.
    • Use the keyboard shortcut: Del.

Scripting

See also: FreeCAD Scripting Basics.

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

import FreeCAD

FreeCAD.ActiveDocument.removeObject("myObjectName")