In 3ds Max 2024, some properties, like Verts, Faces, etc. have been removed from IMesh and IMNMesh.
"The Mesh and MNMesh classes have been refactored to have internal data organized into channel objects. This provides improved stack performance, stability and a lot of code cleanup and modernization. The goal was no functional change to these meshes and minimal API changes to avoid ifdefs.
For example, you can access mesh->faces[f] and alter the faces but you cannot write to the faces member itself. If you want to do this, you still can but it’s not adviced."
The problem is that in this refactoring, those properties are completely gone in the NET SDK, so in order to make any old project work, it must be rewritten specifically for this latest version.
We are supposed to get the Verts, Faces, etc., from the ChannelDataContainer, so we can get the IMeshChannelContainer for IMesh, but that is the furthest I could get.
Do you know how to get any of the channels data (MeshTopoChannelData, MeshGeomChannelData, MeshVertexColorChannelData, etc.) from the ChannelDataContainer?
Thanks!