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

    MSG_GETALLASSETS calls?

    SDK Help
    0
    5
    677
    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

      On 28/11/2015 at 02:45, xxxxxxxx wrote:

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

      ---------
      i would like to know for what plugin classes MSG_GETALLASSETS is called.

      More specifically, i use Save Project, and see that it is called for ShaderData. But it appears that there is no call for MaterialData. Is this correct behavior?

      best regards,
      Michael

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 30/11/2015 at 02:00, xxxxxxxx wrote:

        Hello,

        it is intended behavior that this message is not sent to MaterialData::Message().

        Best wishes,
        Sebastian

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 30/11/2015 at 02:28, xxxxxxxx wrote:

          So if my Material plugin happened to depend on some cached data which i want copied, i'd have to implement a SceneHookPlugin just to handle that?

          (It'd probably be sensible to do so in my case since i generate one file per scene for all instances of my material. On the other hand, why this message is not sent to MaterialData is one of the many strange, mysteries of the C4D API ...)

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            On 30/11/2015 at 09:49, xxxxxxxx wrote:

            Hello,

            using a SceneHook could be a solution for your situation.

            Best wishes,
            Sebastian

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 01/12/2015 at 07:51, xxxxxxxx wrote:

              Okay,

              thank you.

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