Running Plug-in without starting Visual Paradigm

You can write plug-in for executing user-defined actions in Visual Paradigm. Generally, plug-in runs when Visual Paradigm starts. However, you can also run a plug-in without starting Visual Paradigm.

To run a plug-in without starting Visual Paradigm:

  1. Browse the scripts folder under the Visual Paradigm installation directory. For Mac users, you can find the scripts folder in the Visual Paradigm package by right clicking on it and then selecting Show Package Contents. Then look in Contents\Resources\app\scripts for the scripts folder.
  2. Copy the script file Plugin and paste to the bin folder of Visual Paradigm installation directory.
  3. Start the command prompt.
  4. Navigate to the bin folder of Visual Paradigm installation directory.
  5. Execute the script by supplying the required parameters. For example:
    Plugin.bat -project "C:\Demo\Demo.vpp" -pluginid "sample.plugin"

    Below is a description of parameters:
    Parameter Description Example
    -project Project path
    C:\Demo\Demo.vpp
    -pluginid
    The ID of the plugin you want to run. It's the id defined in the <plugin>, in plugin.xml.
    "sample.plugin"
    -pluginargs
    Optional arguments of plugin.

    Parameters for Plugin

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
13. Committing project to server Table of Contents Chapter 16. Printing diagrams

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK