Render notification

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/01/2009 at 02:26, xxxxxxxx wrote:

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

---------
Hello all,
i am working on a kind of batch rendering pipeline tool, and i can know if a render is started in editor and PW, bur RenderNotificationData se stop message only if i render in editor.
how i can have a message on render end when render is external?
sdk documentaion say :

Bool start_<_h4_>_

Determines if this is a star_<_a class=silent href= "mk:@msitstore:c:\users\franz\documents\documenatzione%20sviluppo\c4dr105sdkchm2007-12-22.chm::/pages/ge_math/enum_boolconstants95.html#true1"_>_1"> color=#800080TRUE) or_<_a class=silent href= "mk:@msitstore:c:\users\franz\documents\documenatzione%20sviluppo\c4dr105sdkchm2007-12-22.chm::/pages/ge_math/enum_boolconstants95.html#false0"_>_ALSE0"> color=#800080FALSE) notification. Stop notifications are only sent if the document will not be deleted, which more or less only happens if there's an editor render.

any idea ?
Thanks in advance
Franz

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/01/2009 at 08:11, xxxxxxxx wrote:

Idea (called from Message()) : :)

// IPPFigure.MsgRenderNotification - Message MSG_MULTI_RENDERNOTIFICATION
//*---------------------------------------------------------------------------*
Bool IPPFigure::MsgRenderNotification(BaseTag* tag, RenderNotificationData* rnd)
//*---------------------------------------------------------------------------*
{
     // Render Notification for Showing/Hiding BodyParts in Render
     if (!rnd)                                   return TRUE;
     // Start Editor or External Render (set Render visibility)
     if (rnd->start || (rnd->external && (rnd->doc != GetActiveDocument())))
     {
          VisibilityRender(tag);
          MVisibilityRender(tag);
          isRendering =     TRUE;
     }
     // End Editor or External Render (restore Editor visibility)
     else
     {
          VisibilityEditor(tag);
          MVisibilityEditor(tag);
          isRendering =     FALSE;
     }
     return TRUE;
}

If you need to know if the external renderer is finished and rnd->external isn't set properly (haven't checked), you can always set a Bool for start to know if the external renderer is rendering and then stopped.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/01/2009 at 09:22, xxxxxxxx wrote:

Wow robert,
Thanks i'll Try it :)
All the Best
Franz