Tool plugin AM update
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/09/2003 at 09:35, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;---------
using a Tool plugin , it doesnt seem possible to update the attributes manager , or any other manager whilst inside the mouse loop.
im sending these to refresh screen and try to update managers.DrawViews(DA_ONLY_ACTIVE_VIEW|DA_NO_THREAD|DA_NO_ANIMATION|DA_NO_REDUCTION); EventAdd(EVMSG_DOCUMENTRECALCULATED|EVMSG_CHANGE);
im sending just about every message I can find via EventAdd , but for as long as that mouse button is down it would seem impossible to update any external managers.
if this is possible , please let me know how.
if not , its a big limitation , cos it makes it impossible to create tools like rotate , move , whic need to update the managers so the user can see where he is.
thanks in advance. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/09/2003 at 11:54, xxxxxxxx wrote:
I couldn't find any way to do this myself either. One things that makes me think it's impossible is that the built-in plugin tools (like the Bone Tool) don't update the AM when dragging.
I'll get back to you when I know more. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/09/2003 at 03:13, xxxxxxxx wrote:
DrawView() works synchronously, but doesn't update the managers.
EventAdd() works asynchronously, i.e. it isn't evaluated until after your tool has finished.
What you need is "GeSyncMessage(EVMSG_ASYNCEDITORMOVE)". It will update managers during the drag.