Vizard 7 » Command Index » Vizard objects » node3d » <node3d>.remove
7.7

<node3d>.remove

Permanently remove the object from the scene

<node3d>.remove(  
children = True  
)  
children = True
This option specifies whether to delete all the child nodes of the object also.

Remarks

This will permanently remove an object from the scene. All references to the object afterwards will be ignored.

- All links involving the node will be removed
- All 3d sounds attached to the node will be removed
- If physics is enabled on the node, it will be removed from the physics simulation.

Return Value

None

Example

ball = viz.add('ball.wrl')
.
.
.
ball.remove()