Marcoantoniosilva
I don't have any simple example but as you see in my code I have a object named path. It is created from a NX curve. The curve is divided into small segments depending on the resolution I need. Each time I call (or actually NX calls with Purpose.GET_NEXT) path.getNextCoord() it...
Wrong formatting in my last post
} else if (purpose == nxopen.uf.UFDpud.Purpose.GET_NEXT) {
double proj[] = {0.0,0.0,-1.0};
drpos0 = dpSess.askDrpos0(dpudPtr);
coord = path.getNextCoord();
if(coord==null){...
dpud is not so well documented.
you need to add handling for GET_NEXT and GET_INTERMEDIATE
You might get a clue from this..
} else if (purpose == nxopen.uf.UFDpud.Purpose.GET_NEXT) {
double proj[] = {0.0,0.0,-1.0};
drpos0 = dpSess.askDrpos0(dpudPtr);
coord =...