RangeFromObjectAbstract: Sets the scene timeline to match the selected object animation range.Description: This tool will refit the scene's time-line to the animation range of the selected object. Working Scenarios: It’s mostly used when you have a very long scene and you want to adjust the animation of a single object that has a shorter animation time range, this helps you when playing back & testing the animation. User Usage: Select any object and run the script. Developer Usage: You can call this tool from any other scripts using the following function call: SetRangeFromObject( oObjectsCollection ) Where oObjectsCollection is a collection of XSI objects that contains the animated object(s) you want to set the timeline to. This tool returns true if it succeeds and false if it failed for any reason. Known bugs and limitations: If more than one object is selected then the tool will consider the animation range of the first selected object only Nature: Script Applies To: XSI 3.5 on NT,Win2K,XP Languages: VBScript |