There are some examples using the clipboard in this thread:
You are comparing a node with the maxscript primitive, and that comparison is always going to fail. You want: bitGroups = for obj in selection where…
if (keyboard.controlPressed) do ( MessageBox “Release the Control Key!” ) epoly.Remove() grrrrr.
that. is. so. annoying. i’m about to bust out my hex editor and ‘fix’ max. stomp NOPs all over that test, if i can find it. edit: ctrl-a then numpa…
…and I’d never do it that way either (averaging the vectors). I prefer to maintain separate components. Something like: struct PosRotScale ( mPos,…
That’s entirely true It’s a shortcut, and only useful for a subset of transforms.
I wasn’t able to load the original .max file (wrong version?) but here is a remix of Denis’ code tweaked into a rotation_script. The wheels stay ali…
Clever Denis! I like the property set(get()) You can also use the System.Activator to call the default constructor. If you do then pass asdotnetobjec…
I have encountered similar sounding problems rotating selected objects when Max (2009) is opened on a non-primary monitor in a multi-monitor setup. I…
In the future you can use reflection to list out the types exported by your dll. Just keep track of the assembly object returned by the call to dotNet…
The rotation portion of the matrix (first three rows) must be normalized, otherwise the scale will be off. This average trick only works when both in…
Blending matrices by linearly interpreting the basis vectors is not accurate for any weighting other than 50%. In a nutshell you are interpolating al…
Although it sounds like you’ve already worked around the problem, one sure-fire way to instantiate oddball types is to define them dynamically and the…