XSI scripting is very powerful because you get a choice of standard languages to choose from to do your scripting. If a particular language offers a specific advantage to your work, then it's your choice to use that language as you see fit.
XSI ships with both Jscript (Javascript) and VBscript as the available languages. However, you can also freely download PerlScript or Pythonscript to do general scripting as well.
XSI scripting is object oriented and uses a structured approach to scripting to keep things neat and tidy. You have the choice of using XSI commands and/or the XSI object model to dig into your scenes and manipulate information. However, you are not limited to working within XSI. You can communicate directly with other applications such as photoshop, Internet Explorer, or any of the MS Office softwares to facilitate your work. For example, you can create actions in photoshop from XSI and import them onto a texture image within the scene, then use that in your renders. You can also import/export camera motion information to an Excel spreadsheet without having to hack file formats. Just send the raw data over to Excel and using it's object model, you can request the data be formatted in 6 columns in YXZ order. Excel will handle the formatting freeing you up to work on more creative tasks. When file formats change, Excel will acknowledge the change rather than forcing you to rewrite your script. Make sense?
OK, to delete animation on your selected objects within the scene, try this:
RemoveAllAnimation()
That's it!
Matt
Matt Lind
Animator / Technical Director
Softimage certified instructor:
Softimage|3D
Softimage|XSI
speye_21@hotmail.com