Hello, I was trying to make simple script that would toggle visibility of one specific folder named “Unused”. The idea would be that I could dump there subtools I dont want to be visible for the moment, so I could quickly unhide/show all if I need to and then use this script to quickly hide the undesired oned.
I believe this is a simple syntax error, because when I put the .txt file in the Macros folder, the .zsc file is not created when booting up ZBrush. I cannot figure out the problem:
[IButton,???,"Hide Unused",
[If,[IModSet,Tool:SubTool:Unused]==0, //If the "Unused" folder is not visible...
[IModSet,Tool:SubTool:Unused,2] //show it...
,//else
[IModSet,Tool:SubTool:Unused,0] //else, hide it.
]//end of if command
]//end of macro
Would anyone know what is wrong here?