I have a bunch of concrete, brick, rubble, and junk subtools in my scene. I want to make each one its own unique ztool so I can create a tileable document with them. I can't find away to just batch export all my subtools into individual ztools which would save a ton of time.
Thanks for your help!
Replies
Yeah! so, use polygroups, then under your subtool menu, use split >> group split. That should append them all into their own subtools. Then you can use subtool master to export/save them all out as OBJ's or whatever.
Let me know if that was the solution ;P
Thanks for the post but that isn't exactly what I need to do. I don't know if the way I explained it was weird, but I have 25 sub tools in my scene of various junk and rubble. I want to make a tileable texture using the draw mode in a Document and dragging individual ztools into place. I don't think it will let you use insert mesh brushes or subtools in draw mode.
What I want is to be able to take all my subtools and save each one as a unique ztool with a click off a button. The fastest way I figured out how to do it was export out all my subtools as an obj, import into maya, separate the meshes, rename, batch export each mesh as an obj. Then in zbrush go to the ztool box, click import, pick the first obj, then click save tool, and then go down the list with each one until they are all done.
Hope this clears up what I was talking about.
If you still wanted each subtool to be a separate tool, then using the clone button along with the above would make shorter work out of it as well. Select subtool, clone, select subtool, clone, etc. A macro could make even quicker work of it I'm sure
Edit 3: There we go:
Bind it to a button, or run it as is
Thank you! I will try both of these things when I get a chance.
the ztls will be save in the location of the script .txt file, I don't know how to change that yet ^^
There are a couple different ways you can point to a path. Probably the easiest (laziest) way I do it is to use the command.
And have the user paste/type in the path they want to use. The path can be saved in a .zvr so the user only has to do it once or whenever they want to change it again.
A more advanced way is to use a function inside the ZFileUtils.dll to open a windows dialog to choose a folder.
http://docs.pixologic.com/user-guide/customizing-zbrush/zscripting/zfileutils/
I would also consider deleting the cloned subtools after the save to clean up the file so the user doesn't have to. Just a quality of life thing