Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-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
Joined
Mar 5, 2014
Messages
18
Location
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top