I’m using polyOps.setVert to set vertex positions on a selection of objects, targets. I have grabbed the positions from a master object and stored them into an array of structures and then loop through that and setVert for each one saved. This takes for ever and crashes Max if I try and do more then a couple objects at a time. The issue is the undo or theHold, either way it is a killer. I would really like to have an undo and not have to do a hold fetch.
Is there a better way?
fn pasteVerts objs = ( undo on ( for o in objs do ( if isValidNode o and classOf o==Editable_Poly then ( for x in copiedVertPostions do ( polyOp.setVert o x.index (x.pos+o.transform.row4) ) ) ) completeRedraw() ) ),