simple shelf tools for mayaUSD
Place "shelf_USD_Tools.mel" in "..\Documents\maya\2023\prefs\shelves" folder.
Place icons (PNG files) in "..\Documents\maya\2023\prefs\icons" folder.
Export Selected Object shelf icon: "mayaUSD_exportselobj.png"
- Exports selected item in outliner as USD.
Notes:
- Change filepath in line 9 to desired USD export path: string $usdFolderPath = "[CUSTOM PATH]";
Create New Stage shelf icon: "mayaUSD_createnewstage.png"
- Creates a new USD stage and selects it in the outliner.