Notifications
Clear all

[Closed] c# transform controller

Hi there,

Is there any “simple” way to create a Transform Controller plugin in C#?

I was looking Autodesk’s Autodesk.Max.dll and they say that they don’t support the creation of Controller Plugins. I then searched Ephere’s MAX .NET and I found this sample plugin. I compiled it with both Autodesk’s and Ephere’s dlls and I got the same results. 3dsMax starts normally, recognises the controller but when I try to assign the controller, it crashes.

I’m beginner with C# but I have created same WinForm Apps mostly for folder syncing, xml editing etc.

Thanks in advance,
Nick

4 Replies

One thing you can try is to set breakpoints in your code for example at the constructor, build the plugin in debug mode and copy the pluginname/bin/debug/pluginname.pdb into max’s plugin folder, open max, and then in visual studio -> tools/attach to process and locate 3dsmax, and finally try to assign the controller. If it breaks, you might be able to see what could be causing the problem.

tnx haavard!
I didn’t know that. I saw in a video from sphere and they show a way to debug plugins using 3ds max, so you can add breakpoints as you normally would.
Unfortunately, I have to pause this tests for two weeks since some things came up but I’ll get back on that. It’s very petty that there are so few stuff on the web about this thing…

I was at Autodesk U last year looking into exactly this with the autodesk devs. Doesn’t really look possible at the moment was how I came away feeling. Looks like C++ or nothin’ till there is significant work put into MaxSharp/c# sdk…

Thanks MikieK, I got the same response from AD but it’s very frustrating that Ephere’s wrapper was supporting this functionality and since AD bought it, it seems that it broke. :curious: