Copyright (c) 2020 Holbrook Enterprises, Inc. All rights reserved.

///////////////////////////////////////////////////////////////////////////////////////////
Plugin Installation Instructions
///////////////////////////////////////////////////////////////////////////////////////////

1. Unzip the folder that contains the dll and the wpi file.
2. Copy the dll file to: c:\users\public\documents\WireCAD\WireCAD10\bin\
3. Copy the wpi file to: c:\users\public\documents\WireCAD\WireCAD10\Plugins\Active Plugins\

Start WireCAD 10. If already started click Plugins>Plugin Manager[Rescan and Reload All].

Verify that you see the NBCU Cable Updater menu button in the Plugins menu.


////////////////////////////////////////////////////////////////////////////////////////////
Usage
////////////////////////////////////////////////////////////////////////////////////////////


This plugin registers a button in the UI at: Plugins>NBCU Cable Updater.
You can either click the button to start the function or type uc into the command line.

This function works on the current selection set of the current drawing.
If you don't have an active project or an active drawing the function will fail with a warning.

1. Select a cable or cables to update. 
2. Start the function by clicking the button or typing uc into the commandline.
3. The function will display an explanitory dialog and seek your approval. 
4. Following your [OK] the function will retrieve the cable from the drawing, get its number and update the database.

If you are updating a cable for which the destination pointer has changed ports you will need to run the function twice.
Once to update the pointers and once to update the database.

To hide the explanitory dialog, put WireCAD in Expert Mode.








