If you pass the geo name then it should work eg: surfaceNode, creatorNode = cmds.polyCreateFacet( p=[(0, 2, 0), (0, -2, 0), (4, -2, 0), (4, 2, 0)] ) #just make sure we clear current selection cmds.select(cl=True) cmds.polySplit(surfaceNode, ip=[(2, 0.1), (3, 0.5), (0, 2, -1, 0.0), (0, 0.9)] )
On Mon, Mar 2, 2015 at 12:30 PM, <e9554...@gmail.com> wrote: > its ok i figured it. I needed to put a cmds.select command to select the > specific piece of geometry first. Its weird you can't specify that in the > polySplit command, but anyway... > > -- > 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/18c57141-2dba-4077-a926-be04dc3e377f%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- --:: Kurian ::-- -- 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/CANEMyhO87rUBqDd95G8B%2Bbds_3VvFBw0WxdpRBeDNv4QmF5tsg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.