1. #1
    Senior Member Follow User Gallery
    Join Date
    Feb 2011
    Posts
    777

    Default Open UV master with a shortcut

    Is there any way to open UV Master or any other subsection with a shortcut? I don't mind if it opens it in the lateral menus or opens a pop window.

    I know I can use a shortcut to open a full section (Tool, Brush etc) but not a subsection. Shortcuts assignment and Macros are ignored when trying to do so in subsections as UV Master, FBX import export etc.
    Also I know I can drag the individual buttons of a subsection to recreate the submenu but this is possible only partially as some of the buttons wont work correctly and also is time consuming.

  2. #2
    Senior Member Follow User Gallery
    Join Date
    Aug 2011
    Location
    Mebane, NC
    Posts
    4,194

    Default

    Was time consuming for me as well. Results below post. Some of them/it will work in R8, some need work, don't know when I'll have it done.

  3. #3
    Senior Member Follow User Gallery
    Join Date
    Feb 2011
    Posts
    777

    Default

    It is not possible to recreate full submenus many times as it won't work, for example
    layers, options button in FBX exporter etc.
    It is possible full menus but they are not ideal as you need to open the submenu.

  4. #4
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    You could do it with a macro like this:

    [IButton,???,"Open UV Master",
    [IClick,"Zplugin:UV Master"]
    ]


    The palette would need to be open or in one of the trays. Or you can add IShow for the palette:


    [IButton,???,"Open UV Master",
    [IShow,"Zplugin"]
    [IClick,"Zplugin:UV Master"]
    ]

  5. #5
    Senior Member Follow User Gallery
    Join Date
    Feb 2011
    Posts
    777

    Default

    Thanks Marcus

    I have chained both macros in one macro and it does what I need even probably I have done a mess of your macro. It opens the Plugin section and then open the UV master subsection, no matter where I'm in the menus. Separately the scripts only do the half of that full action.

    [IButton,???,"Open UV Master",
    [IShow,"Zplugin"]
    [IClick,"Zplugin:UV Master"]
    ]

    [IButton,???,"Open UV Master",
    [IClick,"Zplugin:UV Master"]
    ]

    There is only a problem. Zbrush remembers that a subsection of a section is open even if that section is closed. This means that if the subsection UV Master was previously open it will open the section Zplugins and then closes the UV Master subsection. It it was previously closed works OK. This problem doesn't appear with the section Zplugins, that always will open correctly no matter it was open or close before.

  6. #6
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    Try this version. Make sure you overwrite the previous version.

    If the palette is hidden it will show it and open UV Master if necessary. If the palette is in the right or left tray then pressing the hotkey will toggle UV Master open/closed.

    [IButton,???,"Open UV Master",
    [If,[IHeight,"Zplugin"]<50,
    [IShow,"Zplugin"]
    [If,[IHeight,"Zplugin:UV Master"]<50,
    [IClick,"Zplugin:UV Master"]
    ]
    ,
    [IClick,"Zplugin:UV Master"]
    ]
    ]


    HTH,

  7. #7
    Senior Member Follow User Gallery
    Join Date
    Feb 2011
    Posts
    777

    Default

    Thanks!! It works now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •