Tofo377
Civil/Environmental
- Nov 26, 2011
- 1
Have tested the Solidworks API to read information out of 3D sketches created by the "face curve" tool.
Using the API I loop through the model tree and find all 3D sketches of interest and also find all curves and points within each 3D sketch.
Since all face curves has a "on edge" relationship I investigated the "on edge" relationship in the API but it leads to another spline entity that is related to the curvature of the face.
Using the "on edge" relationship what is the way to find the face and its surface entity?
If I loop all the faces in the design tree I can find the face that match the 3D Sketch curves using the API GetClosestPointOn(X,Y,X) function, but I am sure there is a more direct way to find the relation between A Face Curve generated 3D Sketch and the corresponding faces?
Using the API I loop through the model tree and find all 3D sketches of interest and also find all curves and points within each 3D sketch.
Since all face curves has a "on edge" relationship I investigated the "on edge" relationship in the API but it leads to another spline entity that is related to the curvature of the face.
Using the "on edge" relationship what is the way to find the face and its surface entity?
If I loop all the faces in the design tree I can find the face that match the 3D Sketch curves using the API GetClosestPointOn(X,Y,X) function, but I am sure there is a more direct way to find the relation between A Face Curve generated 3D Sketch and the corresponding faces?