How to add a new button, you can continue to overlay
Your question is ambiguous.
In your example, you are pointing to a ISwitch, not a IButton.
What I want to ask is how to create new buttons constantly. This is the function of camera storage under the drawing menu. I want to create such a function through scripts.
Ha ok, I see now, it’s a dropdown menu, you must use the ZFileUtils :
http://docs.pixologic.com/user-guide/customizing-zbrush/zscripting/zfileutils/dropdown-menu/
you can get the ZFileUtils here, there’s an example included :
http://docs.pixologic.com/user-guide/customizing-zbrush/zscripting/zfileutils/
1 Like