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

    getddescription and init

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 278 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 03/09/2008 at 13:11, xxxxxxxx wrote:

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

      ---------
      hello all,
      preaps i am confused, but i don't understand
      in my object plugin i have a dynamic combobox in GetDdescription and in init i make a recursive action on my scene.
      is very stange because when i update my dinamyc description , my plugin execute all code inside init, have anyone some experience of this?
      Sorry preaps is a stupid question
      Thanks
      Franz

      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 03/09/2008 at 14:56, xxxxxxxx wrote:

        You shouldn't be doing anything in Init() that depends upon a completed scene. For instance, during document load, objects may not have been created yet that you might try to 'find' in Init(). Init() is best left for variable initialization and memory allocations. Use MSG_DESCRIPTION_DOCUMENTIMPORTED or other avenues (such as your own explicit InitMyPlugin() method called when appropriate) for these other things.

        Init() is called whenever a new instance is created. C4D does this automatically at times (renders, redraws). Check this thread:

        http://www.plugincafe.com/forum/display_topic_threads.asp?ForumID=4&TopicID;=1832&PagePosition;=127

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

          hello robert,
          thank you  now is clear, i wold like to execute one my action on all abject in the scene only when myobject plugin is created, i'll try another way.
          Best
          Franz

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