These commands help you create and organize your automation projects. A project can contain multiple Sequence files, macros, and encapsulations.
Creates a new AutomationView project in the current workspace. This sets up the required folder structure and configuration files so that all other commands (emulation, export, diagnostics) work correctly.
To run this command:
You need an open workspace folder in VS Code before creating a project.
Creates a new Sequence file inside your project. A Sequence is the main program unit - it contains steps, transitions, and actions that define your sequential logic.
To run this command:
The new file opens automatically in the visual editor.
Creates a new macro step sub-Sequence. A macro step is a reusable block of sequential logic that you can insert into any Sequence. When you place a macro step in the editor, it references a macro Sequence created with this command.
To run this command:
Macros are useful for repeating the same sequence of steps in multiple places. Edit the macro once and all references update automatically.
Creates a new encapsulation Sequence. Encapsulation lets you group part of a Sequence inside an enclosing step, which keeps complex programs organized and readable.
To run this command:
Creates a new Python base class file. Base classes let you define shared logic that multiple sequences can inherit from. This is useful for projects where several sequences share the same variable declarations or helper methods.
To run this command:
Creates a new Sequence file that inherits from an existing base class. The resulting sequence starts with the base class already imported and the inheritance relationship declared.
To run this command:
Sets up the standard library for the current project. This installs the shared base classes and helper files that the project needs to compile correctly. Run this once when starting a new project from scratch (as opposed to using a template).
To run this command:
This command is only needed when you create a project manually. Projects created with Create Project or from a template already include the standard library.
| Command | Description |
|---|---|
| Create Project | Create a new automation project |
| New Sequence | Create a new Sequence file |
| New Macro | Create a new macro step sub-Sequence |
| New Encapsulation | Create a new encapsulation Sequence |
| New Base Class | Create a shared base class for sequences |
| New Sequence From Class | Create a sequence that inherits from a base class |
| Initialize Standards | Set up the project standard library |