Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

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

    SDK Help
    0
    3
    265
    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 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 ?

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

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

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