I’m trying to create a coherent mesh of closed surface in my model and then split the faces of this mesh into different mesh objects for assignment of different properties.
From the documentation Mesh.CreateFromFilteredFaceList() is the right function. Rhino however throws an exception (System.AccessViolationException: ‘Attempted to read or write protected memory. This is often an indication that other memory is corrupt.’)
My input mesh and the bool collection has the same object count when it fails.
Am i doing it wrong or is it a bug?