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

    Dynamic Descriptions

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 249 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 12/01/2007 at 04:19, xxxxxxxx wrote:

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

      ---------
      Hi everyone,
      i got a description file with some entries and a button. If the user clicks on that button, the description file should be extended by some other values.
      The Buttons are controlled by

          
          
           Bool TagCone::Message(GeListNode *node, LONG type, void *data) 
      

      and the dynamic description is defined with

          
          
           Bool TagCone::GetDDescription(GeListNode *node, Description *description, LONG &flags)
      

      Is it possible to call the GetDDescription function from the message function (so that the description file will be extended by the entries defined in the GetDDescription function when i press the button)?
      if i just try to insert

          
          
           GetDDescription(node, description, flags); 
      

      in the message function i don't know which parameters i have to insert in this function call...
      Hope somone does understand what i mean ^^

      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 14/01/2007 at 14:43, xxxxxxxx wrote:

        GetDDescription is called whenever anything happens in the descriptions (AM). There is absolutely no need to call it from the message function.

        Instead, use a class member variable that stores what should be added and then use it when GetDDescription is called.

        That easy 🙂

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