Initialization Variables | ![]() |
||
Appendix C, Initialization Variables and String Substitutions |
You can perform string substitutions in various Toxik components to change the default execution settings. The following table lists the strings that can be edited.
Note: Two of the tokens, <Time> and <Date>, will return different results, depending when they are evaluated.
Variables | Description | Availability |
<PythonExec> | Substituted with the path to the Python executable to run. This value is connected to the toxik::deployment::PythonExec and DL_PYTHON_EXEC settings. | Always |
<OutputDir> | Substituted with the output directory. This is connected to the toxik::deployment::ouput and DL_OUTPUT_DIR setting. | Always |
<CurrentDir> | Substituted with the current working directory. | Always |
<Time> | Substituted with the current time. | Always |
<Date> | Substituted with the current date. | Always |
<SharedDataDir> | Substituted with the path to the Shared data directory. | Always |
<ProjectFolder> | Substituted with the path of the current project's folder. | Always |
<ProjectDir> | Substituted with the directory of the current Toxik project file | Always |
<ProjectPath> | Substituted with the path to the current Toxik project file. | Always |
<HostName> | Substituted with the name of the computer. | Always |
<OsUser> | Substituted with the name of the operating system user name. | Always |
<UserFolder> | Substituted with the path of the current user's folder. | Always |
<CurrentProject> | Substituted with the name of the current project. | Always |
<CurrentUser> | Substituted with the name of the current user. | Always |
<PublishedResultDir> | Substituted with the name of the published result folder, typically set to "Published Results". | Always |
<Composition> | Substituted with the path of the composition in the project. | When performing an "import and cache" |
<RenderedResult> | Substituted with the name of the rendered result to cache. | When performing an "import and cache" |
<CompositionPath> | Substituted with the composition's path. | When publishing |
<FilenamePattern> | Substituted with the pattern for the rendered files. | When publishing |
<DestinationPath> | Substituted with destination directory for the frames. | When publishing |
<ResultName> | Substituted with the rendered result's name. | When publishing |
<Custom> | Substituted with the custom data entered by the user. | When publishing |
<StartFrame> | Substituted with the start frame of the composition. | When publishing |
<EndFrame> | Substituted with the end frame of the composition. | When publishing |
<NbFrames> | Substituted with the number of frames the composition has. | When publishing |
<ImagefileFormat> | Substituted with the file format from the project settings. | When publishing |
<ArchiveDir> | Substituted with the destination directory for archives. | When archiving |
<ArchiveName> | Substituted with the name given to the archive. | When archiving |
<ArchiveExt> | Substituted with the Autodesk Toxik extension for archives. | When archiving |
<Components> | Substituted with the path of components selected for archiving. | When archiving |
<ArchivePaths> | Substituted with the paths of archives being restored. | When restoring |
![]() |