Check if knife has cut
-
On 06/12/2015 at 09:19, xxxxxxxx wrote:
Hello everybody,
id like to do some stuff in CommandData after the knifetool has made a cut. Is it possible to check that?
greetings
rown -
On 06/12/2015 at 10:11, xxxxxxxx wrote:
Hello
Do you mean to need, from scratch(i do not check out this way) :
1. to pack c4d.utils.SendModelingCommand to additional boolean function
2. Check out destination target is dirty(any methods) > failure of knife? -
On 06/12/2015 at 16:12, xxxxxxxx wrote:
Hey Iliy,
thx for reply. My first thought was dealing with dirtys, but I dont want it checking the whole time any objects. I thought there could be a more comfortable way, but I didnt find anything.
** -
On 07/12/2015 at 01:40, xxxxxxxx wrote:
Hello,
I wouldn't know a direct way to detect this. But you could implement a MessageData plugin, listening for the EVMSG_CHANGE message, checking if the active tool is the knife tool (with GetAction()) and compare the point count of the currently selected polygon object with the previous count.
Best wishes,
Sebastian -
On 07/12/2015 at 05:12, xxxxxxxx wrote:
Hello S_Bach,
thx for your ideas, but especially for the information that there is no way.
EVMSG_CHANGE, GetAction() and point count are the steps it is taking at the moment, but in gedialog.CoreMessage.Meanwhile Ive kicked the knife part out. Maybe Ill give it one more chance in some days.
Thx alot again
rown