videopost plugin, CallCommand

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

On 11/10/2012 at 04:48, xxxxxxxx wrote:

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

---------
hi,

Is not CallCommand() work in VideoPostData::Execute() ??

It doesn't effect...😢

I tried this one

  
if (vps->vp==VIDEOPOSTCALL_RENDER && !vps->open && *vps->error==RENDERRESULT_OK && !vps->thread->TestBreak())  
{  
CallCommand(5159); // Cube  (it will replace my command)  
}  
return RENDERRESULT_OK;      

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

On 11/10/2012 at 07:09, xxxxxxxx wrote:

Hi,

It's not possible to directly run a command from VideoPostData::Execute() but it's possible to send a custom core message that's monitored by a MessageData plugin. Please see this thread: https://plugincafe.maxon.net/topic/6516/7016_rendering-in-picture-viewer
You can also read "Using Core Messages" section at the page about the "Important Threading Information".