ofxAssimpModel Loader change mesh color

hey there - n00b AssimpModelLoader question here:

i have a simple collada model, and I’m trying to addColor() to each of the 8 meshes of my model.

this is what it looks like when drawn normally:

setup()

        ofBackground(50, 0);
        ofDisableArbTex(); // we need GL_TEXTURE_2D for our models coords.
        ofEnableDepthTest();
        
        glShadeModel(GL_SMOOTH);
        light.enable();
        ofEnableSeparateSpecularLight();
        ofSetSmoothLighting(true);
        
        cam.setDistance(1000);
        
        // Set Position and Load Model
        ofPoint modelPosition(0, 0, 0);
        cube1.loadModel("colortest-1.dae");
        cube1.setPosition(modelPosition.x, modelPosition.y, modelPosition.z);
        cube1.enableColors();
        
        // Get First Mesh and Color Red
        mesh = cube1.getMesh(0);
        for (int i = 0 ; i < mesh.getVertices().size(); i ++){
            mesh.addColor(ofColor(255,0,0));
        }

update()

cube1.update();

draw()
    
    cam.begin();
    ofEnableAlphaBlending();
    ofEnableLighting();
    ofEnableDepthTest();
 
    ofPushMatrix();
    
    //  mesh.drawWireframe();
    // cube1.drawFaces();
   mesh.draw();
    
    ofPopMatrix();
    
    ofDisableDepthTest();
    
    ofDisableLighting();
    ofDisableAlphaBlending();
    cam.end();

I know I’m missing a simple concept here, but what is the best way to modify and mesh before drawing it? As of now nothing draws where the model should be. I did cout the number of meshes in the model, so I know they’re there.

would greatly appcreciate some help.

Update: I found this example by @Daandelange that worked perfectly!