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.