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

    XPresso tag

    SDK Help
    0
    31
    14.7k
    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 07/07/2008 at 03:17, xxxxxxxx wrote:

      And in 2002 Mikael Sterner said:

      https://developers.maxon.net/forum/topic/812

      jan

      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/07/2008 at 08:40, xxxxxxxx wrote:

        Matthias ? Please i'm really stuck

        Jan

        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 14/07/2008 at 04:04, xxxxxxxx wrote:

          Sorry, I have no idea. I asked the developers for help. I let you know when I know more about it.

          cheers,
          Matthias

          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 15/07/2008 at 02:13, xxxxxxxx wrote:

            Ok, thanks Matthias,

            I trust we'll get an answer.
            Please don't forget my Q of juli 4.

            Regards,
            Jan

            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 22/07/2008 at 06:48, xxxxxxxx wrote:

              Hey Matthias how are things going? 😐
              I'm working on it also. Do you or someone else know why this resulting DescID depth is zero? Look:

              (we allready have a Node(node) and a Port (port).

                
              long portid = port->GetMainID();  
                
              GvOperatorData *od = n->GetOperatorData();  
              if (!od) break;  
                
              DescID descid = od->GetDescID(node, GV_PORT_INPUT, portid);  
                
              GePrint("DescID depth: " + LongToString(descid.GetDepth()));  
              =====================================  
                
              Regards,  
              Jan
              
              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 22/07/2008 at 06:54, xxxxxxxx wrote:

                The previous post should do the trick, because I can use the descid to: FindTrack(descid), and to: CTrack::Alloc(ob, decid).

                Or do I see this wrong?

                Regards,
                Jan

                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 22/07/2008 at 16:01, xxxxxxxx wrote:

                  Djee, I only need to know dynamically a port's animated parameter, like:

                  ID_BASEOBJECT_POSITION or
                  CAMERA_FOCUS.

                  That can be done can't it ??
                  I just need to create a track and a key programaticaly.
                  When i started this, I thougt it was peanuts.

                  jan

                  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 25/07/2008 at 03:00, xxxxxxxx wrote:

                    Matthias, still no sign of the developers?

                    Ok, in the meanwhile, I have setup an elaborate system of recognizing a port by it's name string!

                    1. I get the port's name from the GvPortDescription

                    2. construct the description id from a list of known port names and get the animated parameter id (like "Position . X")

                    3.Then I can create a track and set a key.

                    Well, it's a long list and there are a lot of if's and 'switch's but it works for now.

                    There are big disadvantages: it is slow, only the english language can be used and it's practically impossible to support all posible animatable parameters. (and it is unelegant)

                    regards,
                    Jan

                    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 25/07/2008 at 05:16, xxxxxxxx wrote:

                      I still have no answer for you but I am fiddling around with it too.

                      Btw. depending from where you call GetOperatorData() it is not allowed to call the virtual functions. See the docu note:

                      Note: You can only use the virtual functions of this object if you are in the same module that registered the node!

                      cheers,
                      Matthias

                      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 25/07/2008 at 06:37, xxxxxxxx wrote:

                        Yes, I am aware of your alert.

                        But I'm not sure. At the moment I use the GvNode->GetPortDescription in my (dialog) plugin. Would that cause a problem ?

                        Awaiting a word from you, I stopped experimenting with GetOperatorData(), because the DescID was not valid anyway.

                        By the way, I need to set keys for C4D BaseObjects or derivates, so not created by my plug.

                        Jan

                        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 25/07/2008 at 07:12, xxxxxxxx wrote:

                          Quote: _But I'm not sure. At the moment I use the GvNode- >GetPortDescription in my (dialog) plugin. Would that cause a problem ?
                          >
                          > * * *
                          _


                          This is ok to do.

                          > Quote: _By the way, I need to set keys for C4D BaseObjects or derivates, so not created by my plug.
                          >
                          > * * *
                          _


                          So if I understand this right you want to check Xpresso Object nodes for their ports and then create tracks depending on the ports?

                          cheers,
                          Matthias

                          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 25/07/2008 at 09:17, xxxxxxxx wrote:

                            Tracks if they do not excist and keys, yes.
                            Something like the setdriven. But the keys are set by my plug at every frame in 'real time'.

                            Regards,
                            Jan

                            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 28/07/2008 at 03:00, xxxxxxxx wrote:

                              Hi Jan,

                              I am afraid I have bad news. I just got the answer from the developers that it is not possible to get the description IDs from the port IDs.

                              cheers,
                              Matthias

                              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 30/07/2008 at 04:13, xxxxxxxx wrote:

                                Hi Matthias,
                                Well, I'm a bit silenced. So i shall have to use the elaborate string compare method to get the port DescsiD.
                                Some thougths.

                                It is strange, because C4D does it self all the time whenever a key must be set. How does C4D 'know' what keys to set autokeying is ON. I think it iterates through ALL objects and compares ALL animatable parameters of an object and creates tracks and keys for those parameters which have changed. OK, then we have a parameter that has changed. Now, if you allowe me to ask, how does C4D internally construct (programatically) the DescID?

                                Is there a kind of shortcut to find out if an object in the objectManager has a gvNode representation ?

                                Can you, or the team, suggest another way to get to my goal, Where would you look?

                                Thanks anyway and regards,

                                Jan

                                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/08/2008 at 01:48, xxxxxxxx wrote:

                                  Hi Matthias,

                                  Is it not possible to answer the questions 2 and 3 from my previous post ?

                                  Jan

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