editTemplate function

Edit 3D template