Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.

Synopsis

adskAssetLibrary([unload=boolean], [unloadAll=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

adskAssetLibrary is NOT undoable, NOT queryable, and NOT editable.

The adskAssetLibrary command is provided to give control over the loading of asset libraries through scripting. Any number of libraries may be specified by URIs.

Return value

None

Keywords

debug, information, echo

Related

warning

Flags

unload, unloadAll
Long name (short name) Argument types Properties
unload(ul) boolean create
Use this flag to unload the specified library. The libraries must be specified by name rather than by URI when using this option
unloadAll(ua) boolean create
Unload all loaded asset libraries

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

cmds.adskAssetLibrary( "/assets/myLibrary.adsk" )