3D Lingo Dictionary > L-N > newGroup |  |

newGroup

Syntax

    member(whichCastmember).newGroup(newGroupName)

Description

3D command; creates a new group, `newGroupName,` and adds it to the group palette. You cannot have two groups in the palette with the same name.

Example

This statement creates a group called gbGroup2 within the cast member Scene, and a reference to it is stored in the variable ng.

    ng = member("Scene").newGroup("gbGroup2")