THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/03/2005 at 09:05, xxxxxxxx wrote:
Cinema 4D Version: 8.1
Platform: Windows ;
Language(s) : C++ ;
I have changed the position of an object in somewhere in the code.
The screen is not updated, because Execute func is not called.
How can the execute func continuesly be called without playing?
(like when you drag with the mouse)
On 17/03/2005 at 09:37, xxxxxxxx wrote:
which execute function are you talking about? If you modified something in the document, you may want to try
calling EventAdd() and/or DrawViews() (doc->Message(MSG_UPDATE) shouldn´t be wrong either).
On 17/03/2005 at 11:04, xxxxxxxx wrote:
I change the position of an object in the Execute function of a tag plugin.
Problem: the code is in the Execute function, so, only when the Execute is called, the position is changed and the view updated.
But: the Execute function is only called when something changes, but it does not because the exec is not called.
Hmmm, something like the chicken and the egg...
Mouse movement does it, when you drag the mouse, the editor camera changes pos and the vieuw is updated.
On 25/03/2005 at 13:08, xxxxxxxx wrote:
You can force these kinds of expressions to execute continuosly by pressing play. Another solution would be to use a dialog with a timer that forces a redraw.
On 25/03/2005 at 14:33, xxxxxxxx wrote:
I used the play option and the timer crossed my mind.
I will try, but first i think i will try a thread: see my thread trouble post.