Exporting diagram image

To export images from a project through command line:

  1. Browse the scripts folder under the VP Suite installation directory.
    The scripts folder inside VP Suite installation directory
    The scripts folder inside VP Suite installation directory
  2. Copy the script file ExportDiagramImage and paste to the bin folder of VP Suite installation directory.
    Copy and paste ExportDiagramImage from scripts folder to bin folder
    Copy and paste ExportDiagramImage from scripts folder to bin folder
  3. Start the command prompt.
  4. Navigate to the bin folder of VP Suite installation directory.
    Navigate to the bin folder of VP Suite in command prompt
    Navigate to the bin folder of VP Suite in command prompt
  5. Execute the script by supplying the required parameters. For example:
    ExportDiagramImage -project C:\Demo\Demo.vpp -out C:\Demo\Output -diagram "*" -type jpg
    Executing ExportDiagramImage
    Executing ExportDiagramImage
    Below is a description of parameters:
    Parameter Description Example
    -project Project path
    C:\Demo\Demo.vpp
    -out Folder for storing the exported images
    C:\Demo\Output
    -diagram A list of diagram required to export images. User can enter "*" for representing all diagrams, to supply the names of diagrams, or to supply a text file which includes the names of all diagrams
    diagram_1 diagram_2
    -type [optional] Type of diagrams. Here are the possible types:
    • png
    • png_with_background
    • jpg
    • svg
    • pdf
    png
    Parameters for ExportDiagramImage