Ok, in case someone needs this working in the future, here is what i did: get a reference length. def getEdgeLengthFunc (*pArgs): global referenceLength referenceLength =[] sel1=cmds.ls(sl=True,fl=True) cmds.ConvertSelectionToVertices() p=cmds.xform(sel1,q=True,t=True,ws=True)…