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

    How to know is any command was executed?

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 291 Views
    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 Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 28/09/2006 at 05:53, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.6 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Help me please.
      How Tool Plugin can know is some command was executed (and model is potentially changed) ?
      For example: I select edgecuttoolSDK, press "Apply" and edit value in "subdivide" spinner (increase it, then decrease) - quantity of new points increased and decreased accordingly, in other words tool remembers original topology of model. Then I call some command, for example "Edge to Spline". Visually it changes nothing - edgecut tool stays active, "Apply" button stays grayed out. But if I begin to edit "subdivide" value now - edgecut tool would create new points and not remove old ones, it means it knows that some command was applied, and model is potentially changed.
      I guess algorithm of detecting of another command execution is not in edgecuttoolSDK but in DescriptionToolData implementation.
      I want to be able to do the same (detect if some command was executed). Is it possible?
      excuse me for my english please.

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 28/09/2006 at 06:11, xxxxxxxx wrote:

        If there is the way to get that information from DescriptionToolData implementation of my tool plugin, it would be not bad.

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 04/10/2006 at 11:51, xxxxxxxx wrote:

          Could it be MSG_TOOL_RESTART you are looking for? (Btw, the source for DescriptionToolData is available in the API folder, c4d_descriptiondialog.cpp.)

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 06/10/2006 at 02:02, xxxxxxxx wrote:

            Thanks a lot!

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