I have a set of subtools, I want to be able to export each individually in a zscript with their own subtool names (I don't want to use save as) as obj files.
Here is what I have so far:
-----------------CODE--------------
//ZBRUSH MACRO - Recorded in ZBrush version 4.73
[IButton,???,"Press to run this macro. Macros can be aborted by pressing the ëescí key.",
[IShowActions,0]
[IConfig,4.73]
[Loop,[SubToolGetCount],//loop through all subtools
[SubToolSelect,[Val,n]]//select each subtool
[If,n>0,
[VarSet,subToolPath,[IGetTitle,Tool:Item Info]]//get subtool name
[VarSet,subToolPath,[StrExtract,subToolPath,0,[StrLength,subToolPath]-2]]//trim off period
[IClick,[StrMerge,"Tool:Sub Tool:",subToolPath]]//turn it off
]
[IPress,Tool:UV Map:Flip V]
[IPress,Tool:Export]
,n]
[IShowActions,-1]
]/*End of ZScript*/
---------------------- END CODE ----------------
One problem is that I have to press enter after each file save, it's no big deal but would be good if it just did it automatically
Can anyone help with this?