ZBrushCentral

Can I move a subpalette to another menu by script?

Hi, I have a question:
Can I move a subpalette to another menu by script?
Or use a script to create another menu (this can be done I know), and then copy a subpalette there or all its buttons and controls?
Thanks in advance!
-Jordi

No, I don’t think that’s possible, sorry!

Why? A lot of things are possible.

Thank you for telling! Knowing what can’t be done is also useful for developing things.

1 Like

Doug,

There are no specific commands for controlling custom UIs through zscripting, so you are limited to button presses and what I’ll call “creative scripting”. For the latter, it’s possible to script a click+drag using [IClick] but despite trying various methods I failed to get working code for moving an interface item from one palette to another. I admit it’s a while since I tried, so perhaps when I feel like beating myself up I’ll have another go! :wink:

-Marcus

2 Likes

Creative thinking will prevail :wink:

1 Like

That is the fun of coding, what you say, the creative part! :slight_smile:

1 Like