How to moving z-direction vertically against the feature

I want to execute the function script that make the robot’s TCP z-direction move vertically with respect to the selected feature in similar with the below.
How do I do it?

スクリーンショット 2022-10-07 171250

Haven’t tried it myself, but can you just take the current TCP pose and substitute RX and RY for the values of the Feature?


This should work for you

1 Like