3D Lingo Dictionary > T-Z > type (model resource) |  |

type (model resource)

Syntax

    member(whichCastmember).modelResource(whichModelResource).type

Description

3D model resource property; the resource type of the referenced model resource. This property's possible values are:

| `#box` indicates that this model resource is a primitive box resource created using the `newModelResource` command.
| `#cylinder` indicates that this model resource is a primitive cylinder resource created using the `newModelResource` command.
| `#extruder` indicates that this model resource is a primitive text extruder resource created using the `extrude3d` command.
| `#mesh` indicates that this model resource is a primitive mesh generator resource created using the `newMesh` command.
| `#particle` indicates that this model resource is a primitive particle system resource created using the `newModelResource` command.
| `#plane` indicates that this model resource is a primitive plane resource created using the `newModelResource` command.
| `#sphere` indicates that this model resource is a primitive sphere resource created using the `newModelResource` command.
| `#fromFile` indicates that this model resource was created external to Director and was loaded from an external file or a cast member.

Example

The following statement displays the `type` property of the model resource named Helix.

    put member("helix models").modelResource("Helix").type
    -- #fromFile

See also

`newModelResource`, `newMesh`, `extrude3D`