I have been able to write code that turns on/off the visibility of a specific sub tool.
I first recorded a new macro where I just deselected a tool. I looked at the generated code and saw that it used the IModSet command with 1 as a value.
I used that code in my own plugin script and I am able to turn off the visibility but if the subtool that I want to hide isn’t selected it first gets selected…and the second time I run my script it turns of the visibility. When I click the visibility icon with the mouse it doesn’t select the subtool but when you do IModSet it seems to first select the subtool.
Anyone know if there is a different way to hide a subtool without having to select it first?
Running zBrush 4 on latest Mac OS.
Thanks,
mobbe
However, if you for instance have two subtools and tool #1 is selected and you want to hide #2 th