THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/04/2011 at 11:49, xxxxxxxx wrote:
Hi Everyone
Please be gentle i'm a newbie to any sort of scripting...
I have the need to create a script that will take an existing sweep nurb and animate is so that at time0 the sweep is not visible and at time100 the sweep with have animated the full length of the spline.
I've watched a few tutorials and tried this
CallCommand(12501); // Goto Start
CallCommand(12425); // Autokeying
CallCommand(12410); // Record Active Objects
object()#SWEEPOBJECT_STARTGROWTH=0;
object()#SWEEPOBJECT_GROWTH=1;
CallCommand(12502); // Goto End
CallCommand(12410); // Record Active Objects
object()#SWEEPOBJECT_STARTGROWTH=1;
object()#SWEEPOBJECT_GROWTH=1;
CallCommand(12425); // Autokeying
CallCommand(12501); // Goto Start
If doesn't seem to be animating the action as the object retains the last settings.
Any help very much appreciated and if i just need to read a manual, fair enough, but can i have a clue as to which bit to read...
thanks
Hammondchips