property library

(r/o) library library;

Typ

Zugriff

This property returns the Library object for this scene. Property returns null if no Library object exist. See the Library class documentation for more information.
function onWalkLibrary()
{
    var library = scene.library;
    if (library)
    {
        shell.print("Number of resources = " + library.resourceCount);
        var res = library.firstResource;
        while (res)
        {
            shell.print("Resource tag = " + res.tag);
            res = library.nextResource;
        }
    }
}