Run a Python script on the drawing
Open the Run Script window, run the Python script in it on the open drawing, and undo everything it drew in one step.
How-toIntermediate3 minMenu: Tools › Plug-ins › Run Script…
Rodeo runs Python written for Vectorworks on the open drawing. You write the script in the Run Script window, press Run, and the shapes it draws appear in the drawing. Use this when you want to repeat a drawing task that is too fiddly to do by hand.
Steps
Choose Tools › Plug-ins › Run Script…. The submenu opens from Plug-ins in the Tools menu.

The Run Script window opens with a short script in it. It imports
vs, the module of Vectorworks' calls, then draws five circles in a row. Leave it as it is.
Click Run, or press ⌘Enter. The first run takes a little longer, because Python is fetched, about 11 MB. The window's grey log says what happened.

Close the window with ×. The five circles are in the drawing.

Tips
- The script's changes are applied when it ends, as one undo step. Press ⌘Z once and all five circles go. A script that fails or is stopped changes nothing.
- Change the number in
range(5)and run again to draw more or fewer circles. Each run is its own undo step. - Open… loads a
.pyor.vsfile, and Save keeps the script as one. Calls lists the calls Rodeo has. - Run the same script from a palette with a double-click: see Window › Script Palettes in the Scripts page of the guide.
Limits
- Rodeo has more than 1,100 of Vectorworks' 3,250 calls. A call it lacks says so by name, and most of the missing ones are for NURBS, textures, viewports and roofs.
- Scripts have no network, so a script cannot fetch anything from the internet.