Dmaxer
01-29-2008, 08:21 PM
Once again I want to try and get my head round Dotnet and maxscript so heres goes ,,,
I would like to use a few functions from a DotNet DLL , so far I have got max script to load the dll using this bit of code .
scriptpath=getdir #scripts
Assembly = dotNetClass "System.Reflection.Assembly"
Assembly.loadfrom (scriptpath + "/new fft/Exocortex.DSP.v1.dll")
but as I know only a small % of anything to do with dotnet Im a bit stuck , I want to pass an array full of data to the FFT function in the DLL and read the data back again. is this something I could do with MaxScript ? I think the function (FFT) I want to use is in the public class (Fourier) but Im not sure how to send data to it of read back from it ?.
as far as I can tell this is the function I want to use ,
public static void FFT(float[],int,FourierDirection)
Could someone please please :) point me the right way to go with this ??
below is a link to the DLL I want to use if thats any help
http://www.exocortex.org/dsp/index.html
Thanks for reading and all the best
I would like to use a few functions from a DotNet DLL , so far I have got max script to load the dll using this bit of code .
scriptpath=getdir #scripts
Assembly = dotNetClass "System.Reflection.Assembly"
Assembly.loadfrom (scriptpath + "/new fft/Exocortex.DSP.v1.dll")
but as I know only a small % of anything to do with dotnet Im a bit stuck , I want to pass an array full of data to the FFT function in the DLL and read the data back again. is this something I could do with MaxScript ? I think the function (FFT) I want to use is in the public class (Fourier) but Im not sure how to send data to it of read back from it ?.
as far as I can tell this is the function I want to use ,
public static void FFT(float[],int,FourierDirection)
Could someone please please :) point me the right way to go with this ??
below is a link to the DLL I want to use if thats any help
http://www.exocortex.org/dsp/index.html
Thanks for reading and all the best
