Hi,
I could use some sanity check here. In the code below, I wanted to delete a subtool via zscript. I found this Zbrushcentral post which Marcus Civis showed how it’s done:
http://www.zbrushcentral.com/showthread.php?184857-Script-a-button-press-on-a-dialog
I refitted his simple one liner code for my purpose:
[IButton,Blah,“Blah”,
[IKeyPress,13,[IPress,Tool:Subtool:Delete]]
[Note,“Blah”]
]
I feel like my memories are playing tricks on me. The code doesn’t work currently. Zbrush simply ignores the subtool deleting and goes right to the Note part. But when I was developing my script in the beginning, I thought I saw it working. Am I wrong?