Create a DaVinci Project From Scratch
You can create a new DaVinci Project from scratch using several convenient methods, depending on your preferred workflow and tools:
-
With Terminal Commands: For users comfortable with the command line.
-
Via Visual Studio Code: Create your DaVinci Project directly within your IDE.
-
On Start Page: Quickly initiate a new DaVinci Project directly from our start page.
Each method is described below. Choose the approach that best fits your needs to get started with your new DaVinci Project.
With Terminal Commands
Create your DaVinci Project directly from the terminal:
-
Open DaVinci Configurator Classic in your terminal and run the following command, replacing the paths and project name with your own values:
$ dvcfg-b project create -b="/Path/To/BSW/Package" --project-name="DaVinciProject" -o="/Path/To/Output/Folder" -
The model will be loaded, and your new DaVinci Project will be set up automatically. Once the project is created, you will see a status message confirming successful creation:
Creating a new project SUCCESSFUL
Via Visual Studio Code
Create your DaVinci Project using the extension interface:
-
Create a project folder on your disc.
-
Open your project folder in VS Code.
-
With right click in your project folder explorer the menu will be open and select New DaVinci Project.
-
Select a BSW package for your project and click Select.
-
Give your project a name and click Create.
-
You will see that the project with .dvjson file-extension will be created.
On Start Page
Create your DaVinci Project by opening DaVinci Configurator Classic and using the Start Page:
-
Open the DaVinci Configurator Classic graphical user interface client. The start page will open automatically.
-
In the Get Started section, click Create new Project…. Several input fields will appear.
Enter the following information:
Name: The name of your new DaVinci Project.
Path: The destination folder for your DaVinci Project.
BSW: The path to your BSW package.
-
Click Create & Open. Your new DaVinci Project will be created and opened automatically. A loading page will indicate that the DaVinci Project was created successfully.
Verify Project Creation
After successfully creating your DaVinci Project, you can verify it by checking that the project structure matches the expected layout:
| Folder | Description |
|---|---|
Config |
Description files collection |
Input |
Contains input files for the input file processing or for transformers |
Output |
Contains all outputs that were generated or derived |
Settings |
Contains the project configuration settings |
.editorconfig |
helps to define and maintain consistent coding styles between different editors and IDEs |
.gitgnore |
Directories to be ignored from version control |
MyNewProject.dvjson |
DaVinci project file |