You can use a script to customize the way your asset can interact with the Maya UI. For example, if you’ve created an asset that encapsulates a number of shaders or materials, it maybe useful to have this asset appear in the Assign Existing Materials list that appears when you -click an object.
To customize how an asset is treated in the UI
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License