Hi, Mesh topology changes when you create new polygons. This changes the vertex ordering, so the whatever edges you had selected before running polyBridgeEdge-command don't exist any more (or at least they have a different name or number).
This document from Autodesk explains how polygons are handled by Maya: http://download.autodesk.com/us/maya/2009help/index.html?url=Polygon_API_How_polygons_are_handled_internally.htm,topicNumber=d0e647908 Cheers, Risto On Thu, Feb 26, 2015 at 1:55 AM, <[email protected]> wrote: > Hey yo, > > im trying to do multiple poly bridge commands over a large mesh. So > specific edges need to be bridged with specific other edges. > > The problem is i cant seem to just write a long list of seperate > polyBridgeEdge command lines because each time the edges that are bridged > become selected, making the next polyBridgeEdge command not work. Each time > the selection needs to be cleared like this: > > cmds.polyBridgeEdge( > 'polySurface1.e[530]','polySurface1.e[138]',divisions=0 ) > cmds.select( clear=True ) > cmds.polyBridgeEdge( 'polySurface1.e[0]','polySurface1.e[5]',divisions=0 ) > cmds.select( clear=True ) > cmds.polyBridgeEdge( > 'polySurface1.e[536]','polySurface1.e[185]',divisions=0 ) > cmds.select( clear=True ) > > does anyone know if there is a way to execute the polyBridgeEdge command > without any edges being selected. Removing all the cmds.select commands > would really cleanup my script ;) > > thanks alot for your help, > Sam > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/239bc3d4-0223-4317-b981-8973f9030714%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CA%2B5uDBaT78_TkUspbWY0ostVPp0c4wrSUjYhWi_Pc%3D-3-1m%2BvA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
