I want to register a proc and want to call back it when ever i use *translatemark nodes (Shift + f4 ) to move nodes
I used the below command to call the proc ::minanglecorrection3d, but it's not calling the proc once I have done with *translate nodes (Shift + f4 ) to move nodes
catch {hm_framework registerproc ::minanglecorrection3d after_*translatemark nodes 1 1 0.1}
Please help me to register a proc and need to call it whenever I use *translatemark nodes (Shift + f4 ) to move nodes
Find more posts tagged with
Sort by:
1 - 5 of
51
Sort by:
1 - 1 of
11
Yes,
this command will unregister the callback:
::hwt::RemoveCallback *translatemark ::minanglecorrection3d
Hi,
hm_framework just accepts some special callback events (user profile changed, menu redraw,..)
to add callback to *commands you need to use:
::hwt::AddCallback *translatemark ::minanglecorrection3d "after"
your callback proc must have an argument as placeholder for HM passing *translatemark... into
example
proc ::minanglecorrection3d {star_command} {
puts "Command was performed: $star_command"
.... do your work here
}