Inference lock along a random vector
-
I'm trying to inference lock along a random vector. I wrote this and it works as long as @vector is along the red/green or blue axis but it doesn't lock in any other situation. Does anyone has a solution?
@picked_first_ip.copy(@mouse_ip) @mouse_ip = Sketchup;;InputPoint.new(@picked_first_ip.position.offset(@vector)) view.lock_inference(@picked_first_ip,@mouse_ip)
Advertisement