Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
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.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
unload(ul) |
boolean |
|||
|
||||
unloadAll(ua) |
boolean |
|||
|
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. |
import maya.cmds as cmds cmds.adskAssetLibrary( "/assets/myLibrary.adsk" )