Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Tool plugin AM update

    SDK Help
    0
    3
    276
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post