1. #1
    Member Follow User Gallery
    Join Date
    Sep 2006
    Location
    Santa Monica, CA
    Posts
    88

    Default 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!
    Brad | portfolio / blog: BRADfolio.com

  2. #2
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    It's not difficult. See my example in this thread:
    http://www.zbrushcentral.com/showthr...ting-to-a-file

  3. #3
    Member Follow User Gallery
    Join Date
    Sep 2006
    Location
    Santa Monica, CA
    Posts
    88

    Default

    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
    Brad | portfolio / blog: BRADfolio.com

  4. #4
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    You're welcome!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •