Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Filling a COFFEEexpressionTag with Data

    SDK Help
    0
    9
    694
    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 09/09/2005 at 06:05, xxxxxxxx wrote:

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

      ---------
      I need to know how i can fill a coffeeexpression Tag with some source code(also COFFEE) via a plugin.

      var coffeeTag=AllocTag(Tcoffeeexpression);
      //here i have to fill the tag with data!?
      myObject->InsertTag(coffeeTag);

      How does it work?

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

        i have the same question
        but the AllocTag always makes an ERROR when compiling.
        it syas varibale or function expected, instead of this Tcoffeeexpression...
        maybe we must enter a number?

        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 12/09/2005 at 01:04, xxxxxxxx wrote:

          the code:

            
          var coffeeTag=AllocTag(Tcoffeeexpression);  
          myObject->InsertTag(coffeeTag);  
          

          works fine. But i can't fill the tag with some source code.
          Whatfor do we need a number?

          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 06/10/2005 at 08:19, xxxxxxxx wrote:

            I#m new with Coffee.
            But what is happen when you user Number: 5675 ?
            var coffeetag=Alloctag(5675);
            myObject->Inserttag(coffeetag);
             
            I'm looking for a chance to make a coffee-Tag with Code, too!
            Expresso-Tag can be create, but can't filled with Nodes and connections 😞
             
            Maybe Coffe is a way!
             
            Anybody knows how fill a coffe-Tag with code?

            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 07/10/2005 at 07:22, xxxxxxxx wrote:

              No Idea ?

              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 07/10/2005 at 12:45, xxxxxxxx wrote:

                Maybe I found a hint for that:
                C:\Programme\MAXON\CINEMA 4D R9\resource\coffeesymbols.h

                I think that all constant of Coffee.
                There are:
                COFFEEEXPRESSIONTAG_PASS=1500,
                COFFEEEXPRESSIONTAG_TEXT=1000,
                Is Text maybe for Coffee-Code ?
                How can I put it in a Tag?
                With GetContainer and SetContainer ?

                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/10/2005 at 04:34, xxxxxxxx wrote:

                  Is is Possible with that:
                  var Tag = AllocTag(5675);
                  if (!Tag) {
                   println("could not allocate new MOCCA IK tag");
                   return;
                  }
                  var ccode = Tag->GetContainer();
                  ccode->SetData(COFFEEEXPRESSIONTAG_TEXT,"Hello");
                  Tag->SetContainer(ccode);
                  if (!object->InsertTag(Tag)) {
                   println("could not add MOCCA IK tag to current object");
                   return;

                  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 09/10/2005 at 17:15, xxxxxxxx wrote:

                    I'm not sure if I'm understanding the question, but if you are just looking for a way to create a plugin tag, the following page and its links helped me immensely:

                    http://www.geocities.com/eago9/coffeetuts/index.html

                    I hope this helps.

                    Aaron

                    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 10/10/2005 at 15:35, xxxxxxxx wrote:

                      I have find a Way.
                      And publish it here: http://www.total3d.de/index.php?b=mmdocu&wo=viewkapitel&bo=10&ka=82#titel

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