ok, this is very nice but you are running too, i ask a little example of c# or a step by step example to avoid a lot of incomprehension
So, i read the Lesson7 example found in internet, i compiled this dll and in max work:
and maxscript loading:
pathdll = @"C:\Documents and Settings\Admin\Desktop\ClassLibrary2.dll" clearListener() dll = dotnet.loadAssembly pathdll esp = dll.createInstance("AutodeskMaxDllDemo.NodeReport") showMethods esp showProperties esp esp.GetReport()
"Node Scene Root Node Box001 " OK
- the Autodesk.Max.dll must be installed in the max root installation folder ?
- these dll work for max2011 32 bit, but for all other version of max ?
- how can i get the geometry data like yout C++ code ? i want a maxscript new function example :
nodegroups = selection as array fout = fopen "esportmesh.bin" "wb" meshdata = dll.createInstance("GameMesh.meshdata") meshdata.getdata nodegroups meshdata.writetofile fout fclose fout.
we must resolve this question before continuing, for my purpose i need only some basic informations with c# code:
A) Pass a node , editmesh, editpoly as function parameter
B) Use the corresponding maxscript function like getVerts , getFace , ecc…
C) Use the corresponding maxscript modifier to get the Edit_Normal data, Skin data ecc…