theing
New member
- Mar 5, 2014
- 18
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
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