Generating report through command line

To generate HTML/PDF/Word report 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 GenerateReport and paste to the bin folder of VP Suite installation directory.
    Copy and paste GenerateReport from scripts folder to bin folder
    Copy and paste GenerateReport 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:
    GenerateReport -project C:\Demo\Demo.vpp -out C:\Demo\Output\MyReport.pdf -type pdf -all
    Executing GenerateReport
    Executing GenerateReport
    Below is a description of parameters:
    Parameter Description Example
    -project Project path
    C:\Demo\Demo.vpp
    -out The file or folder path of generated report file(s)
    C:\Demo\Output\MyReport.pdf
    -type
    Type of report to generate. Here are the possible options:
    • html
    • pdf
    • word
    pdf
    -all [optional]
    By default, only the selected diagrams (saved in vpp) will be covered when generating report. By including -all, all diagrams will be covered. -all
    Parameters for GenerateReport
 
4. Generating ORM code and/or database Table of Contents 6. Instant generator
 

Product

Try this feature with

Visual Paradigm for UML

Technical Support

Have technical issues or suggestions? Please contact Visual Paradigm Support Team.

Sales Support

Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.

Discussion Forum

Share your suggestions of opinions at VP Discussion Forum.