S
SS
Guest
Hi All,
I want to set a bindkey to call 2 functions. I am setting
the bindkey as shown below
hiSetBindKey("Layout" "None<Btn2Down>EF" "mouseAddPt()
snapEdge(geGetSelSet(getCurrentWindow())")
I am selecting 2 objects, the first object is selected with left mouse
key. The second object is selected with middle mouse key. I want to
pass the selected objects in the current window to the function
snapEdge(). however only the first object selected gets passed not the
second object. I can see both the objects getting selected in the
window.
I guess this is because mouseAddPt() and snapEdge() get called
concurrently.
Is there a way to get around this problem?
thanks,
Sriram
I want to set a bindkey to call 2 functions. I am setting
the bindkey as shown below
hiSetBindKey("Layout" "None<Btn2Down>EF" "mouseAddPt()
snapEdge(geGetSelSet(getCurrentWindow())")
I am selecting 2 objects, the first object is selected with left mouse
key. The second object is selected with middle mouse key. I want to
pass the selected objects in the current window to the function
snapEdge(). however only the first object selected gets passed not the
second object. I can see both the objects getting selected in the
window.
I guess this is because mouseAddPt() and snapEdge() get called
concurrently.
Is there a way to get around this problem?
thanks,
Sriram