Hi If I use from command line UCS "_ob" and select an object it moves and rotates my UCS tangent to this object. Thats OK. But when I made instruction in lisp (vl-cmdf "_ucs" "_ob" (list #ob pkt)) it moves and rotates my UCS to the end of object (if it's a polyline in the end of n-th element) even PKT is not a vertex. I tried to draw a tangent line to arc or spline from lisp. What am I doing wrong with (vl-cmdf "_ucs" "_ob" (list #ob pkt)) ?? All OSNAPS are disabled. I don't want to use vlax-curve-getfirstderiv because it doesn't work it autocad lt. Any help will be greatfull martin d