docRef = Metashape.app.document
chunk = docRef.chunk
model = chunk.model
faces = model.faces
for f in faces:
if f.selected:
v1 = f.vertices[0]
v2 = f.vertices[1]
v3 = f.vertices[2]
model.vertices[v1].color = (255,0,0)
model.vertices[v2].color = (255,0,0)
model.vertices[v3].color = (255,0,0)
Tried following code, does not throw an error but also does not change the values if I print them back. Any help would be greatly appreaciated.