def Str2Point4(string): buffer = string.split(' ') return pm.Point4(*[float(buffer[i]) for i in range(4)])