Importing and Exporting plugins

When plugins are exported from NWare, they are stored in a file with the extension .npp. You can email this file to other users of NWare or copy it to a shared area to allow users to access your devices.

During the export process, images and Live Python code used by the plugins are automatically included in the plugin file. When you import the plugin file, the plugins it contains are automatically copied to the Plugins part of the device tree; images stored in the file are copied to the Media tab and given a prefix of PL_ to help identify them.

To export a single plugin

  1. Expand the Plugins folder in the device tree.
  2. Navigate to the plugin you want to export.
  3. Right-click the plugin and then click Export.
  4. Type a file name for the NION Project Plugin file (.npp), and then click Save.

To export multiple plugins

  1. Expand the Plugins folder in the device tree.
  2. Navigate to the section of the tree you want to export.
  3. Right-click the folder and then click Export Tree.
  4. Type a file name for the NION Project Plugin file (.npp), and then click Save.

To import plugins

  1. On the Tools menu, click Import Plugins.
  2. Select a NION Project Plugin file (.npp) from the Open dialog box, and then click Open.

    The plugins contained in the file are loaded into NWare. If the plugins were in subfolders when they were exported, the folder structure will be recreated.

    Tip: If you attempt to import a plugin file containing a plugin with the same name as one listed in the Plugins tree, NWare will compare the contents of the imported plugin with the one in the Plugins tree. If they are different, a warning will be displayed and you will be able to choose to either overwrite the existing plugin or cancel the import.

See also

Introduction

Creating a plugin

Adding devices from a plugin to your design

Modifying a plugin

Renaming or relocating a plugin

Renaming or relocating a folder in the Plugins tree

Deleting plugins