the options for scripting and plugin dev. seems plenty in xsi . after going thru docs i got some doubts
1) if you write code in jscript object model and
wants to compile a plugin out of it , can i
do it directly ? or i must translate the code into
c++ and then compile ?
1 → Sounds like you could use a custom command. Look for XSIApplication.CreateCommand. You can specify the name of the command and the file that implements it. You can invoke that command from scripting afterwards as if it was a native XSI command. You could also create a toolbar that contains the command for quick access.
2-> The language you choose does not matter at all. Pick the one you’re used to. This is one of the greates assets of XSI scripting – you can build stuff with the tools you already know.
@@@the options for scripting and plugin dev. seems plenty in xsi . after going thru docs i got some doubts
@@@1) if you write code in jscript object model and wants to compile a plugin out of it , can i do it directly? or i must translate the code into c++ and then compile?
If you only want to make your script available as a button within the interface, you can drag and drop the script onto a toolbar. This leaves your script as a script, but allows users to use it just like any other tool. By right-clicking on the new button, you can still edit your tool to debug or update the script.
If you want to “compile” your script into a binary application, then you must convert the script to C/C++.
@@@2) which is the better scripting language? vbscript or jscript ? i like jscript because of the simillarity with c language.
You can use either language. Vbscript has the most support, but JScript isn’t far behind. All my scripting to date has been done in Jscript, and I haven’t hit any showstoppers yet if that helps.
PerlScript and PythonScript are also options if you install the languages onto your machine, but these two languages cannot be used for creating scripted operators or synoptic views.