1. #1
    Member User Gallery
    Join Date
    Dec 2004
    Posts
    67

    Default ZScripting new controls into ZBrush interface?

    I seem to remember somewhere that it is possible to add new controls to the ZBrush interface from ZScript plugins (not just into the scripting window), but looking through the list of ZScript commands, I see no way to do it. Was I just dreaming?

    Thanks,
    Ken

  2. #2
    Senior Member User Gallery
    Join Date
    Jul 2002
    Location
    Copenhagen
    Age
    39
    Posts
    2,463

    Default

    You just need to name your buttons, switches and sliders with an interface path name. For example, Zplugin:Misc Utilities:MyZplugin. The displayed name will be MyZplugin and the button will appear in the Zplugin palette under the Misc Utilities sub palette.

    If you want to create a new sub palette for your buttons you must issue the [ISubPalette,...] command at the start of your script.

    It is possible to add buttons to the existing palettes, the document palette for example. Simply call your button Document:MyZplugin. It is even possible to "overwrite" the default Zbrush buttons. By calling your button Document:Open:Open you will add a button on top of the existing button. Just make sure the button sizes match up and no one will ever now

  3. #3
    Member User Gallery
    Join Date
    Dec 2004
    Posts
    67

    Default Thanks!

    Very cool. Hopefully the same commands that allow button placement (side by side, above/below) will also work.

    Just what I needed,
    Ken

  4. #4
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,680

    Default

    They don't.

  5. #5
    Senior Member User Gallery
    Join Date
    Sep 2002
    Posts
    216

    Default Fruitful idea.

    Very interesting and fruitful.
    To accomodate the interface still more to your liking...
    To add some knob that will open new tool, or combination of operations...
    I would like to see somebody's new knob produced to enhance Zbrush functionality. Can you write an example script?

    Anatom.

Posting Permissions

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