What scripts can and cannot do yet
What Python and Vectorscript can do on a Rodeo drawing today, which Vectorworks calls are missing, and where to see the list.
ConceptIntermediate4 minMenu: Tools › Plug-ins › Run Script…
Rodeo runs Python and Vectorscript written for Vectorworks on the open drawing. Most of what a script does for a plan works: it can draw shapes, text and symbols, walk and change the objects, set classes and layers, and write records. Some Vectorworks calls are not in Rodeo yet, and a script that uses one says so by name.
What works
- Drawing: rectangles, ovals, arcs, polygons, polylines, text, and 3D extrusions, sweeps and solids.
- Changing objects that are already there: moving, turning, scaling, flipping, changing a shape's vertices, classes, layers and records.
- Walking the drawing and measuring what matches a search, such as the area of everything in one class.
- Dialogs that ask for a number or a string, and a file chooser for a script that reads a file.
- Undo: everything a script changes is applied when it ends, as one undo step. A script that fails changes nothing.
The list of calls Rodeo has is on the Run Script window. Click Calls to see it in the grey panel under the script.


What is missing
- About two thirds of Vectorworks' 3,250 calls are not in Rodeo yet. Rodeo has more than 1,100. The missing ones include NURBS, textures, viewports, IFC, roofs, stairs, Spotlight and site models.
- Walls: wall styles, components, symbols in walls and round walls are not available.
- Worksheets: a drawing with no worksheet cannot make one, and database rows and images in cells are not available.
- Mouse calls: GetMouse, MouseDown and TrackObject are not available.
- Scripts have no network. A script cannot fetch anything from the internet, and a call such as
OpenURLopens a page in a new tab instead. - Files: a script reads and writes files only through the chooser and a small stand-in folder that lasts for the run. A file is limited to 50 MB.
- Progress dialogs show nothing, and the script runs on.
What to do when a call is missing
Rodeo names the call in the log and stops that script, so nothing it drew is kept. Do that part of the job in Rodeo's own tools. See what a script prints shows where that message appears.
Limits
- The list above is what the editor does today, and the call list is the reference for what a given script will reach.
- A solid fill (
FillPat(1), Vectorworks' Solid Background pattern) is drawn in its back colour in Rodeo and in Vectorworks, soFillForealone shows nothing on it; setFillBack, or useFillPat(2)(Solid Foreground). Write a script that draws a grid of posts sets the back colour.