Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Reading a file for setting

    SDK Help
    0
    3
    50
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 21/06/2006 at 14:24, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.6 
      Platform:      
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      I am looking for an example of reading/writing a text file so that the user can set parameters and save them. I didn't see anything in the SDK, but if I missed it, can someone point me that way or give me a quick example?

      Thanks for the help.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 21/06/2006 at 15:30, xxxxxxxx wrote:

        Check out the BaseFile class. Note that ReadString /WriteString might input/output Cinema 4D Strings - which are not plain ASCII text (this is the case for the C++ SDK anyway). Best to test this first. If it doesn't input/output plain ASCII, you can do this with ReadBytes/WriteBytes or ReadChar/WriteChar.

        There is an example at the end of the class description in the COFFEE documentation.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 22/06/2006 at 10:56, xxxxxxxx wrote:

          Thanks for the reply... I will see if I can make sense of it.

          ed

          1 Reply Last reply Reply Quote 0
          • First post
            Last post