Loading Assemblies

new.gif NEW in 3ds Max 9: The loadAssembly() method provides a way to specify assemblies that the control wrapper will look in for the specified control.

The dotNetControl, dotNetObject, and dotNetClass constructors will look in each assembly loaded into the current AppDomain for the specified class name. MAXScript allows the user to specify additional assemblies the control wrapper will also look for the control in.


loadAssembly <assembly_dll_filename>

Loads the specified assembly. If the filename does not specify a path, the assembly is attempted to be loaded from the main .net assembly directory. If the assembly is loaded, returns ???.


You can do this via existing dotNet classes.


assembly = dotNetClass "System.Reflection.Assembly"
r = assembly.loadfrom


See also

DotNet In MAXScript