vb question: start and end point of edge
vb question: start and end point of edge
(OP)
Hello for all!!
I start working with journaling.
In program I can select (manually) body and face for sketch.
After I can find all edges on selected face.
But I can't select (in program) external edges of face.
I want find coordinate of start and end point of every edge and compare its.
But I can't find its.
Mayby somebody know or have idea how I can do this??
Michał
I start working with journaling.
In program I can select (manually) body and face for sketch.
After I can find all edges on selected face.
But I can't select (in program) external edges of face.
I want find coordinate of start and end point of every edge and compare its.
But I can't find its.
Mayby somebody know or have idea how I can do this??
Michał





RE: vb question: start and end point of edge
Face.GetEdges() method returns the array of edges.
Using Edge.SolidEdgeType() determine the edge type,
You can also use Edge.GetVertices() to get the end points of edges.
Regards,
Suresh
RE: vb question: start and end point of edge
I found "GetEdges" and "SolidEdgeType" but I can't find "GetVertices".
You use nxopen dosc from NX? Or some different documentation?
Best regards
Michał
RE: vb question: start and end point of edge
It is a member of Edge Class
Public Sub GetVertices ( _
<OutAttribute> ByRef vertex1 As Point3d, _
<OutAttribute> ByRef vertex2 As Point3d _
)
Regards,
Suresh