ivanisavich
@ivanisavich
New Member
Joined: Feb 15, 2024
Topics: 63 / Replies: 313
Reply
RE: C#: compiled classes disappearing?

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…

8 years ago
Forum
Reply
RE: C#: compiled classes disappearing?

Thanks lo, The [assembly].CreateInstance method suffers the same problem as default maxscript constructor (returns undefined for any previously compi…

8 years ago
Forum
Topic
Forum
Replies: 8
Views: 57
Reply
RE: SDK to C# data transfer performance

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…

8 years ago
Forum
Topic
Forum
Replies: 2
Views: 49
Topic
Reply
RE: 3DSMAX SDK Q : How to get array Index value of selected item in the listbox ?

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…

8 years ago
Forum
Reply
RE: 3DSMAX SDK Q : How to get array Index value of selected item in the listbox ?

What’s the line that’s causing the crash, and what’s the error message?

8 years ago
Forum
Reply
RE: 3DSMAX SDK Q : How to get array Index value of selected item in the listbox ?

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 …

8 years ago
Forum
Reply
RE: 3DSMAX SDK Q : How to get array Index value of selected item in the listbox ?

They’re just Win32 API objects so you query them using the normal Windows API: int selCount = SendDlgItemMessage(hWnd, IDC_LISTBOX, LB_GETSELCOUNT, …

8 years ago
Forum
Reply
RE: 3dsmax SDK Question : How to make an array out of listbox's objects?

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…

8 years ago
Forum
Reply
RE: Remove/hide viewport x y z text

In 3dsmax 2017 or higher you can do: (((dotnetclass “autodesk.max.globalinterface”).instance).utilgetcoreinterface16()).showworldaxis = true|false …

8 years ago
Forum
Reply
RE: Scripted Plugin functions

Yea, just put your custom function in the plugin declaration. Example: plugin simpleMod foo name:”foo” classID:#(685325,452281) version:1 ( fn ba…

8 years ago
Forum
Reply
RE: Constrain moving point to surface (ie, how does pflow's lock/bond work?)

Yea, I think that’s probably my best bet at this point. Thanks!

8 years ago
Forum
Reply
RE: Constrain moving point to surface (ie, how does pflow's lock/bond work?)

“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…

8 years ago
Forum
Page 6 / 26