VEX – Delete all vertices

//
//
//
//Delete all verticies (Run Over = 'Detail')

int numPrims = @numprim;
int numVerts = 0;
for(int j = 0; j < numPrims; j++) {
    numVerts += len(primvertices(0,j));    
}
for(int i = 0; i < numVerts; i++) {
    removevertex(0, i);
}