# Maya 2023 Plugin Directory Structure ## Directory Description - **shelves/** - Shelf files (.mel format) - shelf_NexusLauncher.mel - NexusLauncher shelf - **scripts/** - Python/MEL scripts - userSetup.py - Automatically executed when Maya starts - nexus_test.py - Test script - **plug-ins/** - Maya plugin files (.py or .mll) - Place Maya plugin files here - **icons/** - Tool icons - Place icon files used by shelf buttons here ## Usage 1. Configure in NexusLauncher's config.json: ```json "maya_plugin_path": "E:/Zoroot/Dev/NexusLauncher/template/plugins/maya" ``` 2. Start Maya 2023, the system will automatically: - Load NexusLauncher shelf - Execute userSetup.py - Set correct environment variables 3. Testing: - Check if "NexusLauncher" shelf appears - Click the "Test" button - A confirmation dialog should appear ## Environment Variables Automatically set on startup: - MAYA_SHELF_PATH - Points to shelves directory - MAYA_SCRIPT_PATH - Points to scripts directory - PYTHONPATH - Points to scripts directory - MAYA_PLUG_IN_PATH - Points to plug-ins directory - XBMLANGPATH - Points to icons directory