Why are you using a loop when the spinner changes? Shouldn’t you just be setting the progress bar values once based on the spinner’s value?
Arrays in parameter blocks are called Tabs. They are statically typed though, so you’ll have to specify something like #IntTab, #StringTab, and so on.
You can use the execute command instead: a = execute “[1,2,3]” classof a — Result: Point3
Use the NodeEventCallback mechanism. There you can supply a “mouseUp” parameter. If you want to avoid the event being handled when merging, you can …
You could split the fullpath and use TreeNodeCollection.Find to track your way back to the node.
You can have a look at the Outliner’s installer code: Note that the toolbar code will only work up to and including 3dsMax 2012. To create menu item…
I haven’t used it in maxscript specifically, but JSON.NET is a good library:
I think it might be easier to use the function publishing macros and interfaces. That takes care of most casting issues for you. And I’ve found it to …
I haven’t tried your example code yet, but this issue reminds me of reports I got from several Outliner users. They reported that the treeview occasio…
This happens because of floating point precision. The 10.0 value is not exactly 10.0, but something very close to it. This can be a bit tricky when co…
Ok, so what is the error message? Are there any clues in there on what could be going wrong?
Which SDK version are you using? I believe that VisualStudio 2010 was officially supported only with 3dsMax 2012.
Thanks for your reply. The problem I’m having is that this seems to return a null-pointer for me: maxnode->GetInterface(NODELAYERPROPERTIES_INTERF…
The ampersand operator means that a parameter is passed as a reference. Assume the loop in the doingStuff function modifies the array. If you pass myA…