Message 1 of 2
3DS Max 2025, NET Core 8 error in C#, Autodesk.Max.dll can not apply indexing with [] to an expression of type IBitArray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Support Team,
I am trying on update a Plugin from 3ds Max 2024 (.NET Framework) to 3ds Max 2025 (.NET Core 8). My code in C# as bellow:
IPolyObject opoly;
//...
IMNMesh omesh = opoly.Mesh;
IBitArray fsel = g.BitArray.Create();
so = omesh.FNum;//omesh.Numf;
fsel.SetSize(so, 0);
omesh.GetFaceSel(fsel);
for (int i = 0; i < so; i++)
{
if (fsel[i] != 1) continue;
IPoint3 v3d = omesh.GetFaceNormal(i, true);
//...
but in Visual Studio 2022 editor show Error:
Could you help me fix this error? But I think something is different from "Autodesk.Max.dll" 2025
Best Regards,
DMD