Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reference

Status
Not open for further replies.

theing

New member
Mar 5, 2014
18
0
0
MX
good morning,

hello guys, im having an issue here, i extract the surface of the body, then i get heach surface, to get their edges, and what im trying to do is to get each edge and get their coordinates, but somehow the selection that i have is not selecting the edge, i hope, i make my self understand, and i really appreciate any help. thank you

For i = 0 to icnt - 1
Set selection1 = partDocument1.Selection
selection1.Search "Name=Surface" & Geos(i+1) & ",all"

Set selection2 = partDocument1.Selection
selection2.Search "Topology.CGMEdge,sel"

For j = 0 to selection2.Count - 1
Set Edge = selection2.Item(j+1).Value
Set spabench = partDocument1.GetWorkbench("SPAWorkbench")
Set medida = spabench.GetMeasurable(Edge)
salida.writeline mymeas.GeometryName
Next
Next
 
Replies continue below

Recommended for you

Status
Not open for further replies.
Back
Top