ZBrushCentral

Write Multi-Line Text File from ZBrush

Anyone have experience generating multi line text files from a ZBrush plugin?

I’m trying to write lists to a .txt file, and generate a .bat file.

So far I can easily write those files, but I’m stuck on trying to get each item or batch command on a new line.

Thanks!

It’s not difficult. See my example in this thread:
http://www.zbrushcentral.com/showthread.php?208310-zBrush-writing-to-a-file

aha, the StrFromAsc. Beautiful, that’s what I’m missing. I’m doing something similar to store attributes in JSON format as well.

This is super helpful again Marcus, thank you

You’re welcome! :slight_smile: