It looks like macros.list() prints the info you need to the Listener, then returns “OK”. You can redirect that listing into a stringstream and then p…
Yup. Agreed. In a perfect world they shouldn鈥檛. This is a specific use of an explicit global variable that is only there to work around what I think i…
Lately, I鈥檝e taken to adding a instance to the global namespace with whenever I create a singleton-like struct. I make sure to use the 鈥?:鈥?prefix in …
Oh. I think I see what you are really after. Looks like you need to read it unsigned, swap, then sign extend it yourself. fn ReadBEShort fstream = ( …
Appears to work for me. Perhaps your file open isn’t correct? fn ReadBEShort fstream = ( short = readshort fstream #signed short = bit.swapBytes sho…
what is the snippet you are using to read a range?
hm. you could write your own shim assembly to do the parameter conversion and fwd the call to matlab. Starting to grasp at straws. Did you try safe a…
Have you verified that you can call the OLE object WITHOUT using max at all? Use python, or VB, or Excel …whatever it takes to make sure that you can…
I think you are sending over 1-D safearrays and it’s looking for 2-D. I don’t have access to Matlab, so I can’t actually check this out. I found a sn…
As Denis pointed out, Maxscript will provide you with the tangent T to the curve at any point, which gives you the plane perpendicular to the curve at…
Perhaps “getNodeByName” is what you are looking for? sharkname = “shark” teapot name:sharkname troutname = “trout” sphere name:troutname fi…
<off topic, search related> When you are pretty sure there is something in MXS lexicon that you need, and the help index is no help, ‘apropos’ …
Those methods show up if you run ‘showinterfaces (Unwrap_UVW())’ I diffed the results from Max2009 and Max2010 and found two other new entries – a ge…
Crazy, because it is so simple in the SDK: ::GetCOREInterface()->GetActiveViewport()->GetHWND()