Marcus, explanning better my previous email: For example, if I want to get the edges around this vertex, I would do this:
vtxToEdges = cmds.polyListComponentConversion(vtx, fromVertex=True, toEdge=True) But it is taking too long in thousand loops. :/ Em sábado, 3 de abril de 2021 às 16:58:01 UTC-3, João Victor escreveu: > Hey Marcus, thanks for replying. > I have to loop it in thousands of times. > converting with "polyListComponentConversion" takes too long. > There is some way to get it, without having to convert? Or this is the > only way? > Im using API. > thanks! > > Em sexta-feira, 2 de abril de 2021 às 13:29:12 UTC-3, Marcus Ottosson > escreveu: > >> Faster than what? What have you tried and what was the performance of it? >> >> On Fri, 2 Apr 2021 at 17:24, João Victor <joaovi...@gmail.com> wrote: >> >>> Hey guys! >>> Could somebody help me? >>> >>> What is the faster way to get vertices of a face? >>> >>> Simply converting the selecion? Or there is a smarter solution? >>> >>> Thanks! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to python_inside_m...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/dccecf9e-b015-487a-99e0-2581af29ff98n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/python_inside_maya/dccecf9e-b015-487a-99e0-2581af29ff98n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cfbdb039-4f09-4f0a-8fa3-d4c934f3c2ddn%40googlegroups.com.