Thanks aaandres, It seems like your method of saving the classes to a variable immediately after they’re compiled is also working. Trying to generate…
Thanks lo, The [assembly].CreateInstance method suffers the same problem as default maxscript constructor (returns undefined for any previously compi…
Thanks denisT, Unfortunately the loops have to happen completely in C# so I can’t cheat like that. But luckily I discovered that PInvoke + [SuppressU…
Is the name of your listbox control IDC_LISTBOX? You can run in Debug mode out of VS to get more crash info (line number, etc). Can’t really tell wha…
What’s the line that’s causing the crash, and what’s the error message?
Well, if you cache the HWND of your listbox in the DlgProc (when the WM_INITDIALOG message is sent) you can use that code anywhere. But the HWND will …
They’re just Win32 API objects so you query them using the normal Windows API: int selCount = SendDlgItemMessage(hWnd, IDC_LISTBOX, LB_GETSELCOUNT, …
Well, assuming you’ve linked your ui listbox to an IParamBlock parameter block (as a TYPE_INODE_TAB in a TYPE_NODELISTBOX) , they’re already stored in…
In 3dsmax 2017 or higher you can do: (((dotnetclass “autodesk.max.globalinterface”).instance).utilgetcoreinterface16()).showworldaxis = true|false …
Yea, just put your custom function in the plugin declaration. Example: plugin simpleMod foo name:”foo” classID:#(685325,452281) version:1 ( fn ba…
Yea, I think that’s probably my best bet at this point. Thanks!
“Right” would be x-axis, yes. And resulting distance would be distance along surface, not XY plane. Like, imagine I apply a force to a particle and w…