Forum: Autodesk Maya
Posted By: xTheJim
Post Time: 11 November 2017 at 10:27 PM
Text:
So I'm trying to write up a script and have a problem. Part of the script involved beveling an edge that's been selected, with chamfer turned OFF so that the original edge remains. However when this is done it scrambles the vertex numbers and loses the original selection, meaning I can't do the next part of the script that I'm trying to write.
Anyone have an idea or method for keeping that edge selected? I had an idea to store the locations in world space of the selected vertices and then after the bevel re-select the correct vertices by querying the coordinates of every vertex on the mesh, but that's not a very pretty solution.
Any help would be much appreciated!
Posted By: xTheJim
Post Time: 11 November 2017 at 10:27 PM
Text:
So I'm trying to write up a script and have a problem. Part of the script involved beveling an edge that's been selected, with chamfer turned OFF so that the original edge remains. However when this is done it scrambles the vertex numbers and loses the original selection, meaning I can't do the next part of the script that I'm trying to write.
Anyone have an idea or method for keeping that edge selected? I had an idea to store the locations in world space of the selected vertices and then after the bevel re-select the correct vertices by querying the coordinates of every vertex on the mesh, but that's not a very pretty solution.
Any help would be much appreciated!