Panel or Tabs visible for project only

Panel or Tabs visible for project only

Anonymous
Not applicable
481 Views
2 Replies
Message 1 of 3

Panel or Tabs visible for project only

Anonymous
Not applicable

Hi there.

I have an animation project, where I have created several QuickSets for my animation rig.
I have created a shelf tab for the QuickSets, for easy usage.
Is it possible somehow to have a shelf or a command set only visible for a certain project? 
I end up with many shelfs for each character I have created in time.

 

Maybe it is possible to make and delete a shelf with MEL? so I can run a script, which create the shelf on project startup. (running 2017 LT upd 1)

 

Surely somebody, in time, must have had the need for MEL/Shelfs only available for one project or file, and not for the default file for all projects.

 

/thanks.

 

bear.png

0 Likes
Accepted solutions (1)
482 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution

Thanks to Zhong Wu, we figured out to make a MEL script which can be run for each project.
The MEL script initialize a custom shelf and makes a delete button for the shelf, to use when the project is done.

To test the project script, make a sphere and a quick selection and insert correct names in script:

addNewShelfTab "CurrentProject";
textToShelf sphere "select -replace sphere";
textToShelf Del_Shelf "deleteShelfTab \"CurrentProject\"";

0 Likes
Message 3 of 3

zhong_wu
Autodesk Support
Autodesk Support
Good to hear that:)

John Wu
Developer Technical Services
Autodesk Developer Network