The script source code for the command, tool, or object can be created using the Script Editor or a third-party text editor and imported into the plug-in. The source code is saved as part of the plug-in item. Either Python or VectorScript can be used for the code. For third-party or built-in plug-ins, only unobfuscated plug-in scripts can be edited.
To create script code:
Click the Script button from the Plug-in Manager dialog box.
Enter the script source code in the Script Editor window. See Creating and Editing Script Palettes and Scripts for more information. For detailed developer-oriented documentation, please navigate to
developer.vectorworks.net.
The script is saved as part of the plug-in.
During plug-in development, scripts can be more easily compiled and tested when developer mode is enabled in the Session tab of Vectorworks preferences.
~~~~~~~~~~~~~~~~~~~~~~~~~