def createPlane(self):
global nurbsPlane
# Create the nurbsPlane
nurbsPlane = cmds.nurbsPlane(n = "nurbsPlane", p=[0,0,0], ax = [0,1,0], w=1, lr=5, d=3, u=1,v=5, ch=1)
cmds.select(nurbsPlane, r=True)
# Cleanup the control vertexs
mm.eval("createHair 1 5 5 0 0 0 0 5 0 2 1 1;")
cmds.rename("hairSystem1Follicles", "hairSys_Follicles")
cmds.rebuildSurface(nurbsPlane, rpo=1, rt=0, end=1, kr=0, kcp=0, kc=0, su=1, du=1, sv=0, dv=3, tol=0.01, dir=0)