Pradnya, Are you trying to compile an array of uniqe vertices? In other words if you had a rectangle with edges A, B, C, D and vertices 1, 2, 3, 4. When you visit edges and vertices you would get an array like this:
(1, 2), (2, 3), (3, 4), (4, 1)
And you want:
1, 2, 3, 4
Is this correct?
If so then you just have to do it programmatically. Pro/TOOLKIT does not contain a function that will give you a unique set of vertices.
Patrick Williams Sr. Application Engineer Steelcase Inc.
1. If your program wants the endpoints then call this function twice with t=0 and t=1:
a. ProEdgeXyzdataEval(edge, 0, xyzPoint, deriv1, deriv2, dir); b. ProEdgeXyzdataEval(edge, 1, xyzPoint, deriv1, deriv2, dir);
2. If your program wants the points on the edge according to t then you need to call ProEdgeXyzdataEval from t=0 to t=1.0. Each iteration through the loop will increment t by some factor. You have to determine the factor yourself in the program.
For more information on this look in the API Wizard under User's Guide->Geometry->Evaluating Geometry->Evaluating Faces, Edges, and Curves. Basically you are asking Pro what the point is at t=n for the specified edge. You can pass null for the derivatives and direction if you are not interested in them.