Initialization Variables and String Substitutions

 
 
 

Initialization variables and String substitutions are two ways in which you can configure Composite default execution settings.

Initialization Variables

During installation, a toxik.ini file is created. These files can be found at C:\Program Files\Autodesk\Autodesk Composite (version)\.You can disable any of these files by adding the pound sign (#) before the toxik.ini file name.

The initialization variables are listed in a table as they appear in the Composite initialization file. The table is available from the Help menu via the The Menu Bar. If you specify the command line argument, the argument takes priority over the environment variable and the initialization variable. If you specify the environment variable, then it takes priority over the initialization variable.

To edit the Command Line switches via the Window's shortcut:

  1. In the Windows Start menu, choose Programs > Autodesk > Composite (version), then right-click the Composite menu entry and choose Properties.
  2. In the Properties dialog that appears, click in the Target field and add the desired startup option to the end of the line.

    The option must be placed after the quotation mark.

  3. Click OK and close the dialog.

    The changes will take effect the next time you start Composite.

To view the environment variables settings on Windows:

  1. Right-click the My Computer icon on the desktop and choose Properties.

    If Composite is running or My Computer is not shown on the desktop, hold down the Windows key and press E to start Windows Explorer, then right-click My Computer and choose Properties.

    The System Properties dialog appears.

  2. On the Advanced tab, click the Environment Variables button.

    The Environment Variables dialog appears, displaying system variables in the lower part of the dialog and variables defined for the current user in the top part.

To set the environment variables on Linux:

  1. Issue the following command in a tcsh shell:

    # setenv <variable name> <value>

    OR

    In a bash shell:

    # export <variable name> <value>

To view the environment variable settings on Linux:

  1. Issue the following command in a shell:

    # env

String Substitutions

You can perform string substitutions in various Composite components to change the default execution settings. A table which lists the strings that can be edited is available from the Help menu via the The Menu Bar.

Note Two of the tokens, <Time> and <Date>, will return different results, depending when they are evaluated.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License