Notifications
Clear all

[Closed] How to access single faces from getFacesUsingEdge?

for i = 1 To polyop.getNumEdges $ do
(
	verts1 = polyop.getFacesUsingEdge $ #{i}
	print("Kante " + i as String + " ist die Kante der Flächen " + verts1 as string);
)

Shows me which faces are part of an edge. How do I access verts1’ faces solely?

F.i. this script’s output is
“Kante 438 ist die Kante der Flächen #{276…277}”

Which line is likely to output 276, which one 277?

3 Replies
 lo1

I don’t understand what output you are trying to achieve. Can you give an example of the desired output?

1 Reply
(@jormasoranen)
Joined: 11 months ago

Posts: 0

Yes. I found the solution:
I filled an array with all data and accessed it using array[number]. Then I extracted each vertex and found the coordinates using polyop.getVert $ <vertex number>

are you nazi?

we are all speaking the same language here. it’s the maxscript. and i’m always happy to help.