A dynamic sequence is a single, parameterized Sequence subclass that you instantiate several times, once per piece of equipment, instead of duplicating the same logic for every identical device.
Note: "Dynamic" here means parameterized and reusable. It does not mean AI-generated. The mechanism is plain, deterministic Python: placeholder resolution plus constructor parameters. There is no AI involved.
A dynamic sequence relies on two deterministic mechanisms:
{var} placeholders. Inside the sequence you write variable names, action names, conditions, durations, and preset values with {var} placeholders (for example {forward_cmd} or {T_Forward}).Machine.add_instance("ClassName", "instance_name"), AutomationView replaces every {var} with instance_name_var. Instantiating the same class as magasin_1 and magasin_2 produces two independent, fully resolved copies with distinct variable names.A sequence class can also declare constructor parameters (as class annotations) and read them from self.params inside setup(), so the same class can be configured differently per instance.
This "write once, instantiate N times" approach keeps the logic consistent and removes copy-paste duplication. The expansion happens at load and export time and is fully deterministic - the same project always produces the same resolved instances.
Viewing resolved instances:
Open the Machine Explorer view from the Activity Bar to see each resolved instance, or run AutomationView: Navigate to Machine Tab from the Command Palette.