pymel.core.other.adskAssetLibrary

adskAssetLibrary(*args, **kwargs)

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.

Flags:
Long name (short name) Argument Types Properties
unload (ul) bool ../../../_images/create.gif
 
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) bool ../../../_images/create.gif
 
Unload all loaded asset libraries Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.adskAssetLibrary

Example:

import pymel.core as pm

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

Previous topic

pymel.core.other.adskAsset

Next topic

pymel.core.other.adskAssetList

Core

Core Modules

Other Modules

This Page