steev
08-19-2008, 01:14 AM
...well it works in some cases.
i'm adding an emptyModifier() & putting some custom attributes on it via script. if i run the script directly the modifier & ca's goes on the object fine. however, if i run it as a macroscript, or call it with a fileIn, the add modifer (&therefore the ca's) gets skipped.
i've run into this before & i believe it due to something about the stack needs to be evaluated after the command to actually work. for the life of me, i can't remember how to do that.
anyone know a workaround for the skipping or how to force max to evaluate the stack?
thx!
i'm adding an emptyModifier() & putting some custom attributes on it via script. if i run the script directly the modifier & ca's goes on the object fine. however, if i run it as a macroscript, or call it with a fileIn, the add modifer (&therefore the ca's) gets skipped.
i've run into this before & i believe it due to something about the stack needs to be evaluated after the command to actually work. for the life of me, i can't remember how to do that.
anyone know a workaround for the skipping or how to force max to evaluate the stack?
thx!
