The State Template feature in State Sets lets you create a preset: A state with specific settings that you can add at any time and use as is or modify as you see fit. This procedure offers a simple example of how to create and use a state template.
By default, a state is always recording while it is active.
This sets the active time segment to frames 20 through 50. The main viewport shows the Camera001 view and the track bar shows frames 20–50.
The main viewport now shows the Perspective view and the track bar shows the default animation range: frames 0–100.
The list now contains only State02 and the Objects state.
The submenu opens showing the template you created: Cam1+Frames 20-50.
A new state named State01 appears in the list. Whether you create a new state from scratch or from a template, State Sets always names it State## with ## being the first available number, starting with 01.
As before, when you created the state, the main viewport shows the Camera001 view and the track bar shows frames 20–50.
When you create a template, it remains available in all subsequent sessions.
A message warns that no cameras exist in the scene. However, the state is still activated and the track bar shows frames 20–50. State templates store the recorded aspects of the scene setup but not the scene contents.
The States list reverts to its status as saved in the scene file.
This time everything works correctly.
Not having Camera001 available, the state automatically uses the other available camera instead.
This time the state automatically uses the selected camera instead of Camera001.
So it's important to remember that any scene contents referred to in a template should exist in the scene before you can fully activate a state created with the template. If an item doesn't exist but State Sets can substitute a reasonable alternative, it does so automatically.