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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Coffee-Help for Expression and Render

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 200 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 16/05/2005 at 02:03, xxxxxxxx wrote:

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

      ---------
      Hi,
      I have not many know how about Coffee.
      I know that Coffee Plugin is another than Coffee Expression (in C4D Editor).
      Coffee Expression is the easier way I think.
       
      Is there a list for all commands for the Expression-Editor for Coffee?
      In the SDK are alls commands, for Plugins too ?!?
      Is it possible to change rendersettings with Expression in C4D-Editor?
      (maybe with SetActiveRendrData, or directly with RenderData)

      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 05/09/2005 at 08:27, xxxxxxxx wrote:

        Hi JackMcRip!

        I also know little about C.O.F.F.E.E. But I believe Expressions and Plugins in C.O.F.F.E.E. share the same commands and style. Instead, it is worth noting that Expressions are usually applied to harness the behaviour of objects and other components of a scene, while plugins have the potentials to affect every aspect of the document and even control the entire Cinema4D application.

        // Render settings may be applied with:

        var doc = GetActiveDocument();
        if (!doc) return 0;
        var rd = doc->GetFirstRenderData();
        if (!rd) return;
        var bc = rd->GetContainer();
        bc->SetData(.........);
        rd->SetContainer(bc);

        */ You can put in your new render settings directly
           using SetData(id,data) or InsertRenderData(rd,[prev]).
           Yuo might also use SetData(id,data) to call your
           RenderData class. SetActiveRenderData(rd) would
           obviously make your render settings active.
        /*

        Be reminded, I learn't programming by myself. I thus
        give no guarantee of my programming knowledge. Try this while waiting for a reply from someone with more expertise.

        Have Good Luck!
        May Cinema 4D be with you!

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