Vizard 8 » Command Index » Vizard modules » viz » <viz>.addGroup
8.1

<viz>.addGroup

Add a group node to the scene

<viz>.addGroup(  
parent = viz.WORLD  
scene = viz.MainScene  
)  
parent = viz.WORLD
viz.WORLD
viz.SCREEN
viz.ORTHO
<node3d> object
scene = viz.MainScene
If the parent is viz.WORLD or viz.SCREEN, then the argument represents the scene to add the object to.
If the parent is viz.ORTHO, then the argument represents the window to add the object to.
If the parent is a valid node3d object, then the argument is ignored.

Remarks

A group object is an empty node which can be used to group multiple nodes together.

Return Value

<node3d> object

Example

group = viz.addGroup()