Std Delete

From LabRPS Documentation
Revision as of 14:21, 26 October 2024 by LabRPS (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Std Delete.svg Std Delete

Menu location
Edit → Delete
Phenomena
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 → Std Delete.svg Delete option from the menu.
    • Select the Std Delete.svg Delete option from the Tree view context menu.
    • Use the keyboard shortcut: Del.

Scripting

See also: Autogenerated API documentation and LabRPS Scripting Basics.

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

import LabRPS

LabRPS.ActiveDocument.removeObject("myObjectName")