3D Lingo Dictionary > C-D > deleteModel

 

deleteModel

Syntax

member(whichCastmember).deleteModel(whichModel)
member(whichCastmember).deleteModel(index)

Description

3D command; removes the model from the cast member and the 3D world. Children of the model are removed from the 3D world but not deleted.

Examples

The first line of this example deletes the model named Player3 from the cast member named gbWorld. The second line deletes the ninth model of gbWorld.

member("gbWorld").deleteModel("Player3")
member("gbWorld").deleteModel(9)

See also

newModel