Removes an existing volatile element from the 3D scene.
Syntax |
bool remove_item(const string &in name) |
---|---|
name |
Name of element |
Result |
Returns true if element removed, false otherwise |
Notes |
The element is removed immediately, even if the data monitor is active. Manually defined (nonvolatile) objects cannot be removed. However, a call to the restart_monitor() method is recommended to restart the data monitor only with in data actually required. |
Example of use:
bool execute(pan3d::object @panel) { ... panel.remove_item("obj1"); panel.remove_item("obj2"); ... } |