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

    Help Object Model, Syntax, Debugging

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 378 Views
    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 Offline
      Helper
      last edited by

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

      On 11/05/2007 at 06:18, xxxxxxxx wrote:

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

      ---------
      Hello Members,

      I am new to plugin cafe (as I am to C4D), so my best greetings to everyone.

      I am new to coffee, and I wonder if there are means of control I just havent found yet, like syntax checking, hitting F1 on a keyword and actually getting help, debugging, single stepping...? Should I have missed something fundamental here or am i indeed left with trial and error and learning the Object tree by heart?

      Thank you for any help,
      Wind

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

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

        On 11/05/2007 at 07:09, xxxxxxxx wrote:

        If you use the Script Editor in Cinema4D you get color coding for different things like functions, pre-defined constant, the var type and command like new, if, else etc. Alos open the Cinema4D Console window for debugging COFFEE scripts. You usally will get error messages that contain the line of error in your code. But don't expect a full fledged IDE like Visual Studio for instance.

        cheers,
        Matthias

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

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

          On 11/05/2007 at 07:21, xxxxxxxx wrote:

          Matthias,

          thank you very much.

          I already saw the options you mentioned, but in the SDK help (9.5) I couldnt find any hints on my problems. Maybe I am on the wrong tracks altogether, so I better tell you what I want to do.

          I want to read in data from an ASCII text file sequentially, in which are comma or tab separated data like e.g.

          x1 y1 z1
          x2 y2 z2
          ....
          EOF

          I then want to convert these data into points of a spline to be built. This would enable me to make animated diagrams out of arbitrary data from my simulation programs. I came to this idea by watching a tv programme from BBC.

          Can you point me into the right direction, please?

          Greetings,
          Wind

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

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

            On 14/05/2007 at 03:21, xxxxxxxx wrote:

            Yes, you can read ASCII files with COFFEE. Check out the ReadString function of the BaseFile class. Also read the docs about the string helper functions
            strins(), strmid(), stradd(), strset(), strchr(), strcmp()

            hope that is what you are looking for

            cheers,
            Matthias

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