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

    PluginTag NodeData.AddToExecution()

    SDK Help
    0
    5
    407
    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 05/10/2004 at 14:07, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.503 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      So, how does one actually use this method to set the execution point of the Execute() method in the NodeData?

      I donot see it called by C4D at any time, but I wouldn't know how to get at a PriorityList to send it to the method since 1. there is not a single example and 2. there are no references to PriorityList, except class PriorityList and AddToExecution().

      The PriorityList, according to AddToExecution(), has the quality of "CINEMA 4D owns the pointed object". Well, where is it? I suspect it is part of the BaseDocument, but there are no references to it or methods retrieving/setting it.

      Thanks,
      Robert

      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/2004 at 05:14, xxxxxxxx wrote:

        According to the SDK docs, NodeData has no AddToExecution() method, only some of it's subclasses have. So if you add a NodeData::AddToExecution() function yourself, it won't be called by C4D.

        The PriorityList is passed to the AddToExecution() function by C4D, if you use a NodeData subclass that actually has a AddToExecution() function.

        Hope this helps.

        Michael

        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/2004 at 07:54, xxxxxxxx wrote:

          I meant TagData, but the situation was resolved. It required that the TAG_EXPRESSION was set for the plugin tag otherwise it never got called (ever). Obviously this method only refers to Expression tags, something the docs don't note.

          But, I found using the Init() code in Lookatcamera.cpp sets the priority where it should be anyway.

          Thanks,
          Robert

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

            Yes, the difference between ordinary tags and expressions is that tags are passive and expressions are active. I stumbled over that myself some time ago, I think this should be added to the docs.

            Michael

            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/2004 at 10:01, xxxxxxxx wrote:

              So, when are you going to rewrite the docs?! 🙂

              Passive/active would be a great way to succintly describe the difference.

              Thanks! Now back to worse things: normalization of overlapping absolute vertex maps - arghhh!

              Robert

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