Since I assume the option variables like g_remove_version_number etc. are all defined somewhere outside the function and not in a higher scope, your …
Take a look at qsort() in the Help, and specifically at the example of Indexed Sorting. Basically you collect one array with the objects, another arr…
A normal does not describe an orientation completely. While you can orient one axis of an object to it, the other two axes have unlimited number of po…
Keep in mind MAXScript uses 1-based indexing, otherwise it is the same as Ian pointed out. You could also use matchPattern() to perform simple pattern…
The modifier must be active in the Modify Panel, otherwise it is not initialized correctly: b1 = box() –create a box b2 = box pos:[50,0,0] –creat…
Not true. You can animate the position of existing flags (starting with flag 3 which is not at the end of the gradient), but the creation of new flags…
Ok, here we go: Your 3 rollouts are currently implicitly global (they are all defined in the top scope). For rollouts, this is quite OK, but in gener…
Thanks for the flowers! The goal with that DVD was to explain how to use math without knowing math (since I both HATE and DON’T REALLY KNOW math) :r…
This is because when you put the code in a function, the code becomes the body and is run as a multiline expression within a single undo record. Durin…
Let’s assume that the Normal is the Z axis in world space. If there is no rotation, your normal has rotation of 0,0,0 and is parallel to the World Z. …
Awesome job, I like it very much! :applause:
Just so you know, DIMaster 2 lets you snap to vertices and even sicks to them. It is a special mode that reads the data from the Snap system and uses …
I could be blind, but I don’t see an error in the posted code. In fact I run a version of it here where the targetHelper and sourceHelper variables we…
It is very difficult to think of every possible way a script could be executed and crashed, but there are certain things you could get into habit of a…
There are two options here: You can use getNodeByName() to convert the string to the object you want to select, or store a separate array of cameras …