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:

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:

  1. 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"
  2. 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:

  1. Create a project folder on your disc.

  2. Open your project folder in VS Code.

  3. With right click in your project folder explorer the menu will be open and select New DaVinci Project.

  4. Select a BSW package for your project and click Select.

  5. Give your project a name and click Create.

  6. 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:

  1. Open the DaVinci Configurator Classic graphical user interface client. The start page will open automatically.

  2. 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.

  1. 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:

Table 1. Project folder structure
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