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

    Changing the doc in Videopost

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 819 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 18/08/2010 at 09:04, xxxxxxxx wrote:

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

      ---------
      Hi,

      just a small question.
      Is it save to add or remove Objects from the vps->doc in a VideoPostData::Execute() call?
      I tested it and it seems to work but can there be any problems with this approach?
      Also in which state of the Execute function would that be save to do?
      Until VP_SUBFRAME and vps->open it seems to work.

      Thanks,

      affa

      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 19/08/2010 at 02:22, xxxxxxxx wrote:

        Afaik it's not allowed to modify the render document.

        cheers,
        Matthias

        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 19/08/2010 at 08:42, xxxxxxxx wrote:

          Thanks Matthias.

          do you have any other ideas how we could do this in a VideoPost?
          perhaps we could change the current doc when MSG_MULTI_RENDERNOTIFICATION is sent?
          But i don't like the idea of changing the real document, as the changes are only meant for rendering.

          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 24/08/2010 at 03:51, xxxxxxxx wrote:

            Ok, changing the doc in RenderNotificationData seems to work.
            And i guess it's safe to change the doc here, isn't it?

            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 24/08/2010 at 06:38, xxxxxxxx wrote:

              It is indeed possible to modify the document during MSG_MULTI_RENDERNOTIFICATION. Just make sure that you really own the document, for example, doc != GetActiveDocument().

              cheers,
              Matthias

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

                ah, ok. thanks!

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