On 11/05/2013 at 20:40, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi Folks,
I have a SceneHook plugin that's there to work alongside my object plugin. But a few things are unclear to me about the way it works.
Firstly, is a SceneHook always there in the background, in every document (regardless of whether my object plugin is in the scene or not)? Or can I load/unload a SceneHook on an as needed basis? Is it possible to load a SceneHook when my object is selected, and remove it when it's not (though it won't do any harm sitting in the background if the second next query can be done..)?
Secondly, is there a flag that indicates that the document is being animated, that I can use stop the SceneHook from showing/working while the document is playing back?
I only wish the SceneHook to be there when the document is not being played back, and when my object is selected.
The SceneHook itself seems to be working fine other than the above dilemmas!
WP.