THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2003 at 05:23, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
I have seeked for it in the old forum already and found this posting:
There Mikael is saying that there is a way in the objectplugin (objectdata) class to detect the evaluation of a plugin in the editor/renderer.
I need exactly this right now Could somebody tell me how to detect the evaluation in an object plugin?
Thanks very much!
On 11/01/2003 at 05:49, xxxxxxxx wrote:
ok, found out for rendering in the external renderer, but can I detect it for the editor renderer too? I checked if the document is cloned. But that doesn´t include the editor renderer. :
Thanks in advance
On 11/01/2003 at 07:00, xxxxxxxx wrote:
That's not what I was referring to in the message you cite. It was just "to detect if a plugin is evaluated by the editor or renderer", i.e. to call HierarchyHelp::GetVFlags().
There's no public message sent to objects when the rendering starts.
On 11/01/2003 at 07:30, xxxxxxxx wrote:
Ah, ok I see. Thanks that´s all I wanted to know.
On 22/05/2003 at 14:10, xxxxxxxx wrote:
I'm not sure if I understand your question (and it looks like it may have already been answered), but I've found that when GetVirtualObjects() is called...
if ( !(hh->GetVFlags() & VFLAG_INTERNALRENDERER) && !(hh->GetVFlags() & VFLAG_EXTERNALRENDERER))
// you're in the editor
...though this may be an invalid assumption on my part ;).
On 23/05/2003 at 10:02, xxxxxxxx wrote:
thanks for your answers. Actually this inquiry is about half a year old. I already found a way to do so and am already using it in my DPIT Plugin.