Posted by: | johnwhile | |
Data created: | 19 December 2011 |
Hi, i'm using maxscript for long time but in some situation it's very slow. I learning C# also for other application so i discovered the possibility to use this language to improve maxscript velocity and memory. I have a lot issue with C++ SDK, Autodesk.max.dll seam more simple and clearly but is difficult translate it from max sdk documentation.... The fist issue is how pass and use the 3dstudio objects, so i compiled a C#.dll using your autodesk.max.dll. The C#.dll are in a custom folder, not in maxroot\plugin\... test.cs
compiled into test.dll > maxscript loader: dll = (dotnetclass "System.Reflection.Assembly").Load ((dotnetclass "System.IO.File").ReadAllBytes (@"C:\..\..\test.dll")) Issue: esp.GetNodeName $.handle >work esp.Get3dDataFromNode $ > -- Runtime error: No method found which matched argument list My goal is use maxscript for some internal things, and an external code to export or work with slow function what required a lot of heapsize if i'm using maxscript.... Can someone help me to "break the ice" with C# for 3ds ? i understand the C++ SDK documents but is very complicated use only the "resource explorer" in VisualStudio. Thanks anyway ! |