Std Delete/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Emphasis|Смотри так же:}} Основы составления скриптов в FreeCAD.")
(Created page with "==Применение==")
Line 22: Line 22:
The '''Std Delete''' command deletes selected objects.
The '''Std Delete''' command deletes selected objects.


==Применение==
==Usage==


# Select one or more objects.
# Select one or more objects.

Revision as of 00:10, 3 August 2021

Std Delete

Системное название
Std Delete
Расположение в меню
Правка → Удалить
Верстаки
All
Быстрые клавиши
Del
Представлено в версии
-
См. также
Нет

Description

The Std Delete command deletes selected objects.

Применение

  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

Смотри так же: Основы составления скриптов в FreeCAD.

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

import FreeCAD

FreeCAD.ActiveDocument.removeObject("myObjectName")