Routines (alphabetical) > Object Classes > Graphics Object Classes > IDLgrScene::Add

# IDLgrScene::Add

Syntax | Arguments | Keywords | Version History

The IDLgrScene::Add function method verifies that the added item is an instance of an IDLgrView or IDLgrViewgroup object. If it is, IDLgrScene:Add adds the view or viewgroup to the specified scene.

## Syntax

Obj->[IDLgrScene::]Add, View [, POSITION=index]

## Arguments

### View

An instance of the IDLgrView or IDLgrViewgroup object class.

## Keywords

### POSITION

Set this keyword equal to the zero-based index of the position within the container at which the new object should be placed.

## Version History

5.0 | Introduced