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