Reset Plug-in Object Classes
Menu Command
Version
1.1.2 - 08/10/2024
This plug-in is written in Vectorscript (Pascal) and can be used in any version of Vectorworks 2019 or newer.
Description
Opens a dialog box allowing User to change all plug-in objects of matching types to a given class
Instructions
- Run menu command
- Select desired Plug-in Object type to alter
- Check Change Class checkbox
- Select new Class from dropdown
- If desired, check Set Attributes By Class checkbox to also set all attributes for affected PIO objects to be By Class
- Press OK button to force desired Plug-in Objects to use newly chosen Classes
Dialog Box Explanation

- Column listing all Plug-in Object (PIO) types found in the active drawing.
- Column listing count of PIOs found in the active drawing.
- Column listing the new Class chosen for the PIO. PIOs with new Classes will be listed in Red.
- Column showing PIOs with Set Attributes By Class selected.
- The currently selected PIO will by highlighted in the List Browser. Multiple PIOs may be selected at a time.
- Checking the Change Class checkbox will set the PIO for Class replacement. Unchecking the box will clear the New Class and By Class columns for the selected PIOs.
- Class drop-down menu. Use this to select the new Class for the selected PIOs.
- Checking the Set Attributes By Class checkbox will set all Attributes for affected PIOs to be By Class.
- Counter displaying number of affected objects in the active drawing.
- Help Box, mousing over any dialog box element will display an explanation here.
- Pressing the OK button will close the dialog box and change the Class of all PIOs with a chosen new Class.
- Pressing the Cancel button will close the dialog box without affecting any PIOs.
Installation Instructions
There are two methods of installation, direct download of the plug-in or through the JNC Tools Free Manager plug-in.
Direct Download:
- Download source plug-in file
- Place downloaded file inside the Vectorworks User Folder within the Plug-ins directory
- Restart Vectorworks
- Run the JNC Tools Free Manager menu command
- Select the Reset Plug-in Obj Classes command
- Press the Install / Update button
- Press Close to close the dialog box
- Restart Vectorworks
Adding the Plug-in to your Workspace
- Open the Workspace Editor by going to Tools - Workspaces - Edit Current Workspace
- Select the Menus tab
- In the box on the left, find and expand the JNC category
- In the box on the right, find a suitable menu to place the command in, such as Tools or Modify
- Click and drag the Reset Plug-in Object Classes command from the box on the left to the desired menu location in the box on the right
- Click OK to close the editor
Localization Instructions
The plug-in can be localized to your native language without having access to the source code. This can be achieved by following the instructions below:
- Open the Plug-in Manager by going to Tools - Plug-ins - Plug-in Manager
- Select the Third-party Plug-ins tab
- Select the Reset Plug-in Obj Classes command
- Click the Customize button
- Select the Strings tab
- Double-click a category, such as Dialog Strings
- Select a string to edit and press the Edit button
- Write a new string and press the OK button until you are back to the Plug-in Manager
The categories for this plug-in are as follows:
- 3000 - Dialog Strings: These strings are used in the dialog box and can all freely be changed
- 4000 - Dialog Help Strings: These strings are used in the Help Box at the bottom of the dialog box and can all be freely changed
- 5000 - Misc Strings: These strings serve multiple purposes in the code, only string 5000 should be changed
Release Notes
| Date |
Version |
Note |
| 12/07/2023 |
1.0.0 |
Initial release |
| 12/08/2023 |
1.0.1 |
Added ability to set objects By Class |
| 03/22/2024 |
1.1.1 |
Fixed bug with Callout objects not taking By Class |
| 08/10/2024 |
1.1.2 |
Fixed bug preventing User from unchecking Change Class checkbox |
Known Bugs
No Known Bugs
Feature Requests
No current Feature Requests
License
Copyright (c) Jesse Cogswell (JNC Tools)
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of this software (the “User”) and associated documentation files (the “Software”),
to use, reproduce, distribute, execute, and transmit the Software.
The User is not permitted to modify or attempt to reverse engineer the source code. The User may
localize the Software using approved methods from within the Vectorworks software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.