import UPPython
import tkinter.messagebox
Engine  = UPPython.CRoPythonEngine()
iPathCount = Engine.GetPathCount()
tkinter.messagebox.showinfo(title="轨迹个数",message=str(iPathCount))
for i in range(0,iPathCount):
    iPointCount = Engine.GetPointCount(i)
    for j in range(0,iPointCount):
        dx = Engine.GetPointPostureRzRyRx(i,j,0)
        dy = Engine.GetPointPostureRzRyRx(i,j,1)
        dz = Engine.GetPointPostureRzRyRx(i,j,2)

        Engine.AddPointByRzRyRx(dx,dy,dz,0.0,1.57,0.0,200,1)
    Engine.EndPath()