How to know is any command was executed?



  • 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.



  • 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.



  • 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.)



  • 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!


Log in to reply