Autodesk Softimage supports command line options for installing and uninstalling shader plug-ins. In addition, you can also specify one or more workgroups. All tasks that you can perform from the command line follow this syntax:
XSI.exe -[option letter] <add-on install options>
This section provides information about the following tasks:
The following command line statement installs an add-on file (.xsiaddon) or a shader descriptor file (.env, .len, .lit, .mat, .out, .sha, .tex, .tx3, .vol):
XSI.exe -i <file to install>If the install feature cannot find the DLL in the current directory, it begins a recursive search (looks in the subdirectories of the current directory), which may lead to undesirable results.
For example, if the Ship and Debug directories both contain copies of this DLL, the install feature takes the one in the Debug directory.
The following command line statement reverses the installation of an add-on file (.xsiaddon):
xsi -u <file to uninstall>Example: uninstalling an add-on package
xsi -u phong_xyz.xsiaddonAll extra switches available when you install your add-on file are also available when you uninstall it, where appropriate. For more information on these switches, see: Specifying Where To Install the Add-on.
Setting Your Workgroup from the Command Line
The following command line statement sets the workgroup for the application:
xsi -w <path or keyword>You can also specify multiple workgroups using the -w option followed by a semicolon-delimited string:
xsi -w "<path1;path2;...;pathN>"Example: setting the workgroup path from the command line
In this example, the Softimage administrator would log on to machine A as user B and install the shaders.xsiInfo file. Then the administrator would set the workgroup for user B under %XSI_HOME%\Addons\XYZ:
xsi -w \XYZServer\Application\XSIExample: setting multiple workgroup paths while launching Softimage from the command line
This example demonstrates how to set up specific workgroups while launching Softimage:
xsi -w "C:\Softimage\LocalWorkgroup;R:\RemoteWorkgroup" -runFor more information about workgroups in general, see Using Workgroups and Managing Workgroups.