Switch between published versions references in Maya

Hi everyone !

I had some problems with the replacement of published versions files referenced in Maya.

In the Scene Breakdown menu, we just can update to a newer version of the file, but what I'm looking for is to switch between new and old versions.

So with the help of Manne Öhrström, I created a script which can be useful for people who would like to see the switch button in  the Scene Breakdown menu.

Here is the switch function in attachement.

As you can see, the script requires the value of a chosen menuItem in an optionMenu.

What it could be interesting is to store the value of the newest versions (example : "v009") using the scan of the hook. We can return this value in the optionMenu, and create older ones with a function, until "v001". 

The user just has to choose between versions in the optionMenu, and load it by clicking on a button with command=switch.





  • 0
    Manne Öhrström

    That's awesome! Thanks for sharing!

  • 0
    CHAI Qian-Hao

    Hi all,

    Thanks for sharing, Mickael! A question for Shotgun staff. I saw that this post is about 1 year old. Is there any plan to add this feature into Scene Breakdown? I feel that this feature is something that many studios will find useful.

  • 0
    Manne Öhrström

    Hello there!

    I am following up on older tickets so just wanted to ping this thread - apologies for not getting back!

    The breakdown is indeed one of our very oldest apps and is in need of some upgrading. We don't have a set date for when this will happen, but hope that it won't be long. We have some exciting ideas and would love to tie in some rich metadata into this workflow - giving the user access to notes, review media etc at the point where you are making a decision if you want to update something or not (and choosing which version to update to!).


Please sign in to leave a comment.