Reading a file for setting



  • 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.



  • 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.



  • 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


Log in to reply