ZeBoxx2: ( The first line of the documentation is a bit misleading in that respect, as it claims that the globalVars structure also lets you create …
An alternative to using the execute function is the globalVars structure (2008 or later): globalVars.set <global var name> <value> Mar…
Something along these lines should work: – Collect all instances of the “Missing_TextureMap” class. The asTrackViewPick causes the function – to ret…
ACFred: …magnetic snapping to either the origin of the widget or to ticks on a slider bar, all of which are just either mesh or curve objects I’v…
Not sure if this is what you’re after, but here’s some quick changes: plugin material rrt2 name:”RedQueen2″ classID: #(655953908, 849023090) extends:…
The error is in this part of the script: expr = “widgetNode.position.controller.x_position.controller.value * 100” fe = float_script() fe.addNode “w…
This should properly align the box: a = box() a.rotation = inverse $.transform.rotation a.pos = $.pos Note that the rotation is performed before tra…
I assumed the OP just left that part out in his post, but yeah without it this script wouldn’t do much, other than instancing classes Martijn
What error are you getting? One thing I noticed is that you used lowercase (the orange part), where it should be “SqlCommand” (.NET is case sensitive)…
Afaik, there’s no way to know beforehand how many particles go where at a given point in time (since pflow is history dependent), so as Richard pointe…
When “PF Source 01->Ev” is the full name of the Event node, that is exactly what you’ll need to use for getNodeByName to work, eg: Ev = getNodeByN…
Are you using updateShape shpObject as well? This is needed to update the shape in the viewports after adding/removing/modifying knots. Cheers, Marti…
One thing to note here though, is that if you decide to make your callbacks persistent (ie, saved with the scene), you’ll need to make sure that the c…
I’m not sure if this is what you want, but you could add the custom attribute to the object itself instead of the baseObject (which is the default). T…
This is a long standing issue with maxscript, spline operations do not generate undo entries… A way around this limitation is to create a copy of the …