Skip to content

Auto Folder Path

Renderset uses a special string format to generate paths. This lets you generate paths that fit your production workflow from variables related to your computer, the blend file, the scene, the context and more.

This string format is used in two places:

  • The autogenerated output folder format in Preferences → Addons → renderset
  • Copy Output File Post Render Action

General Philosophy

The syntax uses Python's formatted string literals. Anything enclosed within curly braces is treated as a variable. Renderset feeds a controlled list of variables and python replaces their tokens with their values.

Let us look at a few examples:

use hostname and context name to form a path

C:/SomeFolder/{hostname}/{context_name} results in: C:/SomeFolder/MY_COMPUTER_NAME/ContextName/

put renders into folders by month

/home/linux_user/renders/{month}/{blend_filename} results in: /home/linux_user/renders/11/BlendFilename.blend/


The following variables are available:

  • context_name: Name of the rendered context
  • context_render_type: Type of render (still or animation)
  • blend_parent_folder: Parent folder of current Blend file location
  • blend_filename: Name of current Blend file
  • blend_full_path: Full path to Blend file
  • hostname: Hostname of the machine that is rendering
  • date_time: Date and time in format: YYYY-MM-DDTHH-MM-SS
  • camera: Camera assigned to the context
  • world: World assigned to the context
  • year
  • month
  • day
  • hour
  • minute
  • second

When constructing the auto folder path string, consider using the Add Variable and Peek Variables operators for help. You can find them in Preferences → Addons → renderset.

add variable

peek variables