3D Lingo Dictionary > T-Z > top |  |

top

Syntax

    modelResourceObjectReference.top

Description

3D command; when used with a model resource whose type is `#box`, allows you to both get and set the `top` property of the model resource.

The `top` property determines whether the top of the box is sealed (`TRUE`) or open (`FALSE`). The default value is `TRUE.`

Example

This statement sets the top property of the model resource Gift box to `FALSE`, meaning the top of this box will be open.

    member("3D World").modelResource("Gift box").top = FALSE

See also

`back`, `bottom`, `front`