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

    Find my Tag ??

    Scheduled Pinned Locked Moved SDK Help
    17 Posts 0 Posters 1.2k 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 26/03/2011 at 12:53, xxxxxxxx wrote:

      yeah you are right..  let me look at the SDK and get back to you in a min..

      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 26/03/2011 at 12:56, xxxxxxxx wrote:

        while I'm looking  you could find an instance of a coffee tag   using the above method...

        just do

        instanceof(Tcoffeeexpression)

        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 26/03/2011 at 13:02, xxxxxxxx wrote:

          found this...

          http://www.py4d.com/forum/?wpforumaction=viewtopic&t;=15.0

          (python)

          but still it finds just a type of a tag... not exactly myself 🙂

          hey thanks for the support shawn !

          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 26/03/2011 at 13:04, xxxxxxxx wrote:

            and this... which exactly addresses the same problem

            http://www.psd-tutorials.de/forum/145_c4d-xpresso-thinking-particles-c-o-f-f-e-e-und-py4d/122097-coffee-tag-aufspa-ren.html

            sadly no solution 😕

            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 26/03/2011 at 13:15, xxxxxxxx wrote:

              Looks like you asked this question before.  🙂

              https://developers.maxon.net/forum/topic/3744/3182_coffee-tag-finding-itself-&KW=get+coffee+expression+tag&PID=12984#12984

              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 26/03/2011 at 13:33, xxxxxxxx wrote:

                🙂 oi... this was 2008

                i knew i had the problem before...
                but still ... it is totally unsolved 😞

                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 26/03/2011 at 13:35, xxxxxxxx wrote:

                  lol...    I am not finding a satisfactory answer on my end.  But again,  I am not all that familiar with the COFFEE SDK..  lol   Sorry!

                  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 26/03/2011 at 14:23, xxxxxxxx wrote:

                    The reference 'op' in Coffee tag is not the same as in a Python tag. 'op' in a Coffee tag references
                    the object where your tag is attached to. In Python its the tag itself.

                    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 26/03/2011 at 16:14, xxxxxxxx wrote:

                      It's always safest to declare your object in both languages with "obj". Or whatever you prefer.
                      That way it's less confusing.

                      Here's an example of selecting a tag by it's name:

                      var obj = doc->GetActiveObject();  
                      if(!obj)return; // Error handling if no object was selected  
                        
                      var ft = obj->GetFirstTag(); // Get the first tag on the currently selected object  
                      while(ft->GetName() != "MyTag") // Looks for a tag with the name MyTag  
                        {  
                      if(ft->GetNext()==NULL) //If there are no more tags  
                         {  
                          println("Tag name was not found");  
                          return;// End the script  
                         }  
                      ft = ft->GetNext(); // Get the nex tag    
                        }  
                      ft->SetBit(BIT_ACTIVE); // Make the tag selected in the OM  
                        
                      //We've got the proper tag selected...Lets do something with it now.   
                      

                      You can combine this with the "instanceof" function to filter for your tags.

                      If you don't already have my CoffeeBible. Then I recommend that you go get a copy from CGTalk.
                      It's free. And it has all kinds of examples in it.

                      -ScottA

                      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 27/03/2011 at 16:09, xxxxxxxx wrote:

                        Why does Maxon not add a overloaded 'tag' variable for Tcoffeeexpressions ? There is absolutely no sense in overloading the Origin of the Tag, instead of the Tag!

                        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 25/04/2011 at 05:13, xxxxxxxx wrote:

                          Hi, Basic C4D mac 11.5 user here, trying to get a grip on exactly what PY4D is all about, specially I have a few 3rd party plugins Im trying to install that requires PY4D to get them to work, unfortunately I can seem to find them anywhere, Ive been looking high and low and all I can seem to find out is that Maxon acquired
                          PY4D and thats pretty much it. Can anyone PLEASE let me know where I can even find the free beta plugin? thanks

                          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 25/04/2011 at 07:18, xxxxxxxx wrote:

                            @Stribiz: Py4D was available for R11.5 (beta expired in december'10) and is now part of C4D R12.

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