Std Delete: Difference between revisions
No edit summary |
Tag: Undo |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
⚫ | |||
<translate> |
<translate> |
||
<!--T:7--> |
<!--T:7--> |
||
{{Docnav |
{{Docnav |
||
|[[Std_SelectAll| |
|[[Std_SelectAll|SelectAll]] |
||
|[[Std_SendToPythonConsole| |
|[[Std_SendToPythonConsole|SendToPythonConsole]] |
||
|[[Std_Edit_Menu|Std Edit Menu]] |
|[[Std_Edit_Menu|Std Edit Menu]] |
||
|IconL=Std_SelectAll.svg |
|IconL=Std_SelectAll.svg |
||
Line 16: | Line 15: | ||
{{GuiCommand |
{{GuiCommand |
||
|Name=Std Delete |
|Name=Std Delete |
||
|MenuLocation= |
|MenuLocation=Edit → Delete |
||
|Workbenches=All |
|Workbenches=All |
||
|Shortcut={{KEY| |
|Shortcut={{KEY|Del}} |
||
|Version=- |
|||
|SeeAlso=[[Std_Undo|Std Undo]], [[Std_Redo|Std Redo]], [[Std_Cut|Std Cut]], [[Std_Paste|Std Paste]] |
|||
}} |
}} |
||
Line 26: | Line 23: | ||
<!--T:4--> |
<!--T:4--> |
||
The |
The '''Std Delete''' command deletes selected objects. |
||
==Usage== <!--T:2--> |
==Usage== <!--T:2--> |
||
<!--T:5--> |
<!--T:5--> |
||
# Select |
# Select one or more objects. |
||
# There are several ways to invoke the command: |
|||
# Invoking the Delete command can be utilized several ways: |
|||
#* Select the {{MenuCommand|Edit → [[Image:Std_Delete.svg|16px]] Delete}} option from the menu. |
|||
#* Pressing {{KEY|Delete}} or {{KEY|Backspace}} keyboard shortcut |
|||
#* |
#* Select the {{MenuCommand|[[Image:Std_Delete.svg|16px]] Delete}} option from the [[Tree_view|Tree view]] context menu or [[3D_view|3D view]] context menu. |
||
#* Use the keyboard shortcut: {{KEY|Del}}. |
|||
#* Using the [[tree view|tree view]] context menu. |
|||
#* Pressing the [[Image:Std Delete.svg|24px]] button in the toolbar. |
|||
<!--T: |
==Scripting== <!--T:12--> |
||
'''Note:''' All Delete operations can be {{Button|[[Image:Std Undo.svg|16px]] [[Std Undo|undone]]}} and {{Button|[[Image:Std Redo.svg|16px]] [[Std Redo|redone]]}}. |
|||
<!--T:13--> |
|||
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
⚫ | |||
To delete an object use the {{incode|removeObject}} method of the document object. |
|||
</translate> |
|||
{{Code|code= |
|||
import FreeCAD |
|||
FreeCAD.ActiveDocument.removeObject("myObjectName") |
|||
}} |
|||
<translate> |
|||
<!--T:8--> |
<!--T:8--> |
||
{{Docnav |
{{Docnav |
||
|[[Std_SelectAll| |
|[[Std_SelectAll|SelectAll]] |
||
|[[Std_SendToPythonConsole| |
|[[Std_SendToPythonConsole|SendToPythonConsole]] |
||
|[[Std_Edit_Menu|Std Edit Menu]] |
|[[Std_Edit_Menu|Std Edit Menu]] |
||
|IconL=Std_SelectAll.svg |
|IconL=Std_SelectAll.svg |
||
|IconR= |
|IconR=Std_SendToPythonConsole.svg |
||
|IconC=Freecad.svg |
|IconC=Freecad.svg |
||
}} |
}} |
||
⚫ | |||
{{Std Base navi}} |
|||
<!--T:11--> |
|||
⚫ | |||
</translate> |
</translate> |
||
⚫ | |||
⚫ | |||
{{clear}} |
{{clear}} |
Latest revision as of 07:22, 11 August 2021
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
- Select one or more objects.
- There are several ways to invoke the command:
Scripting
See also: FreeCAD Scripting Basics.
To delete an object use the removeObject
method of the document object.
import FreeCAD
FreeCAD.ActiveDocument.removeObject("myObjectName")
Std Base
- File: New, Open, Close, Close All, Save, Save As, Save a Copy, Save All, Revert, Import, Export,Merge project, Project information, Print, Print preview, Export PDF, Recent files, Exit
- Edit: Undo, Redo, Cut, Copy, Paste, Duplicate selection, Refresh, Box selection, Box element selection, Select All, Delete, Send to Python Console, Placement, Transform, Alignment, Toggle Edit mode, Edit mode, Preferences
- View:
- Miscellaneous: Create new view, Orthographic view, Perspective view, Fullscreen, Bounding box, Toggle axis cross, Clipping plane, Texture mapping, Toggle navigation/Edit mode, Appearance, Random color, Workbench, Status bar
- Standard views: Fit all, Fit selection, Isometric, Dimetric, Trimetric, Home, Front, Top, Right, Rear, Bottom, Left, Rotate Left, Rotate Right
- Freeze display: Save views, Load views, Freeze view, Clear views
- Draw style: As is, Points, Wireframe, Hidden line, No shading, Shaded, Flat lines
- Stereo: Stereo red/cyan, Stereo quad buffer, Stereo Interleaved Rows, Stereo Interleaved Columns, Stereo Off, Issue camera position
- Zoom: Zoom In, Zoom Out, Box zoom
- Document window: Docked, Undocked, Fullscreen
- Visibility: Toggle visibility, Show selection, Hide selection, Select visible objects, Toggle all objects, Show all objects, Hide all objects, Toggle selectability, Toggle measurement, Clear measurement
- Toolbars: File, Edit, Clipboard, Workbench, Macro, View, Structure, Help
- Panels: Tree view, Property view, Selection view, Tasks, Python console, DAG view, Model, Report view
- Link navigation: Go to linked object, Go to the deepest linked object, Select all links
- Tree view actions: Sync view, Sync selection, Sync placement, Pre-selection, Record selection, Single document, Multi document, Collapse/Expand, Initiate dragging, Go to selection, Selection Back, Selection Forward
- Tools: Edit parameters, Save image, Load image, Scene inspector, Dependency graph, Project utility, Measure distance, Add text document, View turntable, Units calculator, Customize, Addon manager
- Macro: Macro recording, Macros, Recent macros, Execute macro, Attach to remote debugger, Debug macro, Stop debugging, Step over, Step into, Toggle breakpoint
- Help: Help, FreeCAD Website, Donate, Users documentation, Python scripting documentation, Automatic Python modules documentation, FreeCAD Forum, FreeCAD FAQ, Report a bug, About FreeCAD, What's This
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub