RobotStudio event

problem "GetPointAtParameter"

 I load a geometry, and create a border from points, and move them to a position for example (0.2,0.2,0.2), I want to get some points on the border, so I use "body.shells[0].wires[0].coedges[0].edge.GetPointAtParameter()", all the points appear in the place where the geometry was load; you have explaind it works in the local coordinate system, but can I set it works in world coordinate system? can we resolve this problem? I just want to create targets on  this border according to the given length between each neighboring target,  is there another method for creating targets on this border ?
in robotstudio4 API.  there is a funtion called "createtargetoncurve", it exist in robotstudio5 API? I don't find it;

best regards

image