Keep scripts in a palette for one-click use
Make a script palette, add a Python script to it, and see the script listed in the Script Palettes palette, ready to run with a double-click.
How-toIntermediate4 minMenu: Window › Script Palettes › New Script Palette…
A script palette keeps the scripts you run often, each one a line in the Script Palettes palette. You run one with a double-click, so you do not have to open the Run Script window each time. This page makes a palette with one short script in it.
Steps
Choose Window › Script Palettes › New Script Palette…. Type Drawing Helpers in Name and click Create. The Script Palettes palette opens at the bottom of the right-hand dock, under Navigation, with the palette in it.
Right-click Drawing Helpers in the Script Palettes palette and choose New Script….

In the New Script window, type Four Rectangles in Name. Leave Language as Python Script. Replace the text in the box with this script, which draws four rectangles in a row:
import vs for i in range(4): x = i * 2000 vs.Rect(x, 0, x + 1500, 1000)
Click Save. The script is listed under Drawing Helpers with Py before its name.

Tips
- Right-click a palette to add a script you have in a file: Import Script… reads a
.py,.vsor.pxfile into it. - Right-click a script to Run, Edit…, rename, duplicate, export or delete it.
- Each script runs on the open drawing as one undo step. See Run a script from a script palette.
Limits
- Rodeo keeps script palettes in this browser, and the same palettes show for every drawing. Vectorworks keeps them in the drawing itself. Rodeo does not read the palettes a
.vwxfile holds. - A palette made in one browser does not appear in another. Export a script to a file to move it.