mLichy: Whoa, didnt you just start doing maxscript recently? Nice work so far, your way ahead of me :P Edit: Threw together something that would work on single or multiple verts/edges/faces. It moves the actual pivot to the selected components averaged location. Run "$.pivot = curObjPos" to go back to the previous pivot at…
Not sure what the Max Maya equivalents are but... "Poly Append" the first open border example ( result 1 face/poly ) "Fill Holes" the closed border example ( result 1 face/poly per hole ) Triangulate then Quadrangulate that face/poly This will get you at least halfway there ( divisions using border divisions )
lloyd: If you just want to move the pivot to the selected component you could copy/paste the values. Or if thats too slow try this (for use on one vert in editable poly): varVrtNum = (polyOp.getVertSelection $.baseObject) as array $.pivot = polyop.getVert $ varVrtNum[1]