Convert dotNetObjects back to Maxscript Objects


#1

I am working on a small c# program. I figured out how to convert Maxobjects to dotNet objects process them in c# and return them. I am using Autodesk.Max.dll
But I cant figure out an easy way to convert dotNetObject:Autodesk.Max.Wrappers Values/Objects back to “native” Maxscript Values/Objects to further process them.

dotNetObject:Autodesk.Max.Wrappers.Mesh ----> TriMesh
dotNetObject:Autodesk.Max.Wrappers.Point3 ----> Point3
and so on

Thank you