C.O.F.F.E.E and file parsing



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

    On 02/06/2004 at 06:50, xxxxxxxx wrote:

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

    ---------
    Hi !
    How can one parse a text file in COFFEE ? I've read the reference, but the only functions I get can only read one character at a time. Isn't there a 'readLine' function or something ?
    Has anyone ever thought of coding an XML parser for C4D ?



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

    On 04/06/2004 at 09:41, xxxxxxxx wrote:

    1. no there isn´t afaik. you have to write one yourself
    2. There are 2-3 XML parsers available. Don´t have the urls though



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

    On 08/06/2004 at 04:42, xxxxxxxx wrote:

    As Samir said, there's no ReadLine() function. If implementing an XML parser as a file loader plugin, please be aware of the current limitation/bug in C4D that means that all files that have a valid XML header are loaded by C4D itself, no matter if they are C4D XML files or not.


Log in to reply