loading Magick.net into 3D Studio Max via Max Script

Sep 9, 2013 at 11:22 PM
Edited Sep 9, 2013 at 11:23 PM
3Dstudio Max's Max Script has some dot net related functions which allow loading dotNEt Assemblies for us in 3D studio Max tools. I have had success loading JSON.NET dlls into Max Script in this manner. but the same command fails to load Magick.NET-x64.dll, at least form the directory I wish to load from.

I am a bit of a C# noob, so I am unsure how best to describe my issue.

the Max Script Command used is:

dotNet.loadAssembly "C:/Program Files/playdom/forge/external/Magick.NET-x64.dll"
the resulting Max Script error is:
-- Runtime error: dotNet runtime exception: Invalid directory on URL.
I have verified that all 3D studio Max and Win 7 is 64 bit, and that 3D Studio Max supports dotnet 4.0...
Sep 9, 2013 at 11:40 PM
I t appears that 3D Studio Max does not support dotnet 4.0.

I was able to succeed using Magick.NET-6.8.6.801-Q16-x64-net20
Sep 10, 2013 at 9:26 PM
update: it appears you can alter 3dsmax.exe.config to force 3DS Max to accept dotnet 4.0

http://forums.cgsociety.org/showthread.php?f=98&t=1122249