Vizard 7 » Command Index » Vizard objects » node3d » <node3d>.removeParent
7.6

<node3d>.removeParent

Remove the node from a parent

<node3d>.removeParent(  
parent  
scene = viz.MainScene  
)  
parent
This can be another <node3d> object or one of the following:

viz.WORLD
viz.SCREEN
viz.ORTHO
scene = viz.MainScene
If viz.WORLD or viz.SCREEN is given as the parent, then this parameter specifies which scene to detach the node from.

If viz.ORTHO is given as the parent, then this parameter specifies which window to detach the node from.

Remarks

This command will detach the node from the specified parent.

Return Value

None

See also

<node3d>.addParent
<node3d>.setParent
<node3d>.clearParents
<node3d>.clearChildren