vcanim.gif (8357 bytes)Standalones
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


Standalones

A standalone application is one which does not bring up the interactive Soft display. All the SAAPHIRE calls are available but you must do everything yourself, you cannot drop back to Soft interactive to load a scene or select something. There are no .cus files or entry points to worry about.

A SoftWish standalone can be a Tcl/Tk interpreter window from which you can source and run your code. You bring up such a window like this:

  1. For NT only: From the Softimage program group, press the icon for a Softimage command window. This will bring up a command window with the Softimage environment variables already set properly. That is, setenv.bat will already have been run.
  2. Type "soft -D SoftWish SoftWish".

To exit the SoftWish interpreter type: exit
A SoftWish standalone can be an application only, without any interpreter window. Let us suppose you have written an application (using SoftWish) which can be run by sourcing the file myApp.tcl. You would run using this application as a standalone like this:

  1. For NT only: From the Softimage program group, press the icon for a Softimage command window. This will bring up a command window with the Softimage environment variables already set properly. That is, setenv.bat will already have been run.
  2. Type "soft -D SoftWish SoftWish myApp".

If your script needs to behave differently when run as a standalone it can examine the value of the SW_whoAmI global variable. This will be: "STANDALONE" when running from a standalone.

SoftWish can be customized system-wide by editing SI_LOCATION/3D/custom/SoftWish/script/init.tcl. User-specific customizing can be done from tkcon.cfg in each user's HOME directory (this file and a HOME directory must exist).


Whitepaper ] Terms and Conventions ] Release Notes 2.2 ] Problems You May Encounter ] Installation overview ] Installing on Irix ] Installing on Nt ] Licensing ] Scripting ] Utilities and Libraries ] Tools ] Tutorials ]

copyright Video-Collage Inc.