Thank you for your answer Michael, Yes saying mesh I meant shell. xGen generates a lot of mesh that it combines. I am sure to find the right index. The "mesh_check" function allows you to select all the indexes of a given shell index. The "Flatten hair" part makes it possible to overwrite each shell on the first two indexes (All pair index together and odd one too). once launching and that I select a vertex I have that the pairs or the impaires.
Your solution is more robust. My solutuion is only for this case and it's dangerous. Thank you ! -- 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/6cd1fdb7-d160-4aa8-8a2b-b88a5a673a79%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.