but that's not working in mel. when i try to set the matrix size with a variable, maya gives me an error. it just let's me define the matrix with absolute numbers, like matrix $myMatrix [10][3]. of course i can't set the size, before i query the vert count of my mesh.
i have question regarding matrices in MEL. i want to store vertex color information for a mesh in a matrix. as i don't know the size of the matrix, i need to query the vertcount, which will define the dimension of the matrix. somehow MEL does not support variables to define matrix sizes like this example: int $a = 1; int…