https://github.com/hannesdelbeke/unload_maya_shelf
unloadShelfTab similar to deleteShelfTab but does not change the shelf file
https://github.com/hannesdelbeke/unload_maya_shelf
autodesk disable gamedev maya mel non-destructive scripting shelf shelftab shelves tab tech-art techart unload unloadshelftab
Last synced: 3 months ago
JSON representation
unloadShelfTab similar to deleteShelfTab but does not change the shelf file
- Host: GitHub
- URL: https://github.com/hannesdelbeke/unload_maya_shelf
- Owner: hannesdelbeke
- Created: 2021-04-13T15:06:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-04T15:42:57.000Z (about 1 year ago)
- Last Synced: 2025-06-04T21:47:17.154Z (about 1 year ago)
- Topics: autodesk, disable, gamedev, maya, mel, non-destructive, scripting, shelf, shelftab, shelves, tab, tech-art, techart, unload, unloadshelftab
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Maya unload shelf
To remove a shelf in Autodesk Maya, you can use Maya's `deleteShelf` command. But this changes the original shelf file.
This script let's you simply unload a shelf, without changing the original shelf file.
## Installation
place script in
```
C:\Program Files\Autodesk\Maya2019\scripts\others
```
or include in your scriptpath
## Usage
call using mel script
```javascript
unloadShelfTab("my_shelf_name");
```
## Note
- No confirm dialogue for easier use in scripting.
- Adapted from the `deleteShelfTab` function.
To allow easy diff in case of future updates I simply commented out the changes in code. See [diff](https://github.com/hannesdelbeke/unload_maya_shelf/commit/20c5063494d2657a2165a90a257423204a15769a)
- Unloading a shelf won't be remembered in the next Maya session, if you auto load the shelf on startup (e.g. shelves in the shelves folder). The `unloadShelfTab` command is meant to be used together with `loadNewShelf` command, so you can load and unload shelves in a maya session