1. #1
    New Member Follow User Gallery
    Join Date
    Mar 2008
    Location
    USA
    Posts
    17

    Question (ZB-3.5) Set hotkey to side dividers?

    Hi, How can I set a Hotkey for the left and right side Dividers In ZBrush 3.5.

    Thanks in advance-
    Lennart

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

    Default

    You can't do it directly but this little plugin will solve the problem. Simply put the ZSC file in your ZStartup\ZPlugs folder and restart ZBrush. There will be two new buttons - LeftPanel & RightPanel - in the ZPlugin>Misc Utilities submenu. Assign hotkeys to these.

    The code is included in the zip for anyone that's interested.

    EDIT: This will work with ZBrush 4.
    Attached Files Attached Files

  3. #3
    New Member Follow User Gallery
    Join Date
    Mar 2008
    Location
    USA
    Posts
    17

    Default

    Hi Marcus, and thank you,

    But there is a slight problem, it doesn't work as did my privious script. The zscript works fine but i cannot map them to the (~) and (ALT+~) keys. Bellow I have provided the script that you gave me back when 3.1 came out VS the new one you have provided on this thread. Is there any way you can get it to work as it does in 3.1?

    Thank you in advance once again-
    Lennart

    ZBRUSH 3.1 script:

    [IConfig,2.0][ISubPalette,"ZPlugin:Custom Hotkeys"]

    [IButton,"ZPlugin:Misc Utilities:Left Div","Toggle Left Divider Open/Close",
    [IShowActions,0]//Temporarily switches of ShowActions
    [IClick,1000]
    ,,76 //button width
    ,alt+'~']//Hotkey


    [IButton,"ZPlugin:Misc Utilities:Right Div","Toggle Right Divider Open/Close",
    [IShowActions,0]
    [IClick,1001]
    ,,76 //button width
    ,'~']//Hotkey


    ZBRUSH 3.5 script:

    [ISubPalette, "ZPlugin:Misc Utilities",0]

    [IButton, "ZPlugin:Misc Utilities:LeftPanel", "Toggle left panel",
    [IClick,1000]
    ,,.5,,,]
    [IButton, "ZPlugin:Misc Utilities:RightPanel", "Toggle right panel",
    [IClick,1001]
    ,,.5,,,]

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

    Default

    Lennart,

    ZBrush 3.5 handles hotkeys slightly differently and some keypresses won't work. ~ appears to be one of them (although it seems to assign correctly). Alt+~ works for me, though note that you need to lift the Alt key between keypresses (this has always been a limitation with hotkeys assigned to zscripted buttons).

    I suggest you choose different hotkeys, then all should work OK.

  5. #5
    New Member Follow User Gallery
    Join Date
    Mar 2008
    Location
    USA
    Posts
    17

    Default

    I see, Thank you very much for your help.

    Lennart

  6. #6

    Default what about for ZBrush 4r7

    what about for ZBrush 4r7

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

    Default

    The plugin in post #2 will work in ZBrush 4R7. Simply copy the ZSC file to the ZBrush 4R7\ZStartup\ZPlugs folder and also to the ZBrush 4R7\ZStartup\ZPlugs64 folder.

  8. #8
    Senior Member Follow User Gallery
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,874

    Default

    Works great. Thanks Marcus!

  9. #9
    Senior Member Follow User Gallery
    Join Date
    Nov 2010
    Location
    Kuala Lumpur, Malaysia
    Posts
    120

    Thumbs up

    Dear Marcus,
    Thank you very much
    Mohamed Aly Rabie.
    http://www.rabieart.com/


  10. #10
    Member Follow User Gallery
    Join Date
    Jan 2010
    Posts
    33

    Default

    This is not working on Mac OS X (El Capitan) and Brush 4R7 P3 64bit

    Any solutions ?


    EDIT:
    Sorry, it worked !!!
    Oversaw the "misc" - menu.

  11. #11

    Default

    Very cool. Thank you for the script Marcus.

  12. #12
    New Member Follow User Gallery
    Join Date
    Dec 1969
    Posts
    4

    Default it working with 4r8

    very useful plug !!! thanx!!!

Posting Permissions

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