I keep getting the error “SyntaxError: unexpected token ‘arrPlane’”. This code is literally copied from the Rhino IronPython help. Any thoughts would be appreciated.
the code above is not python but RhinoScript (vb). So you get that error from the python editor. If you want to run this from the RhinoScript (vb) editor, use _EditScript and paste / run your code there.
To create a plane in python, the code should be similar though. Eg. to create the WorldXY plane you might just use this instead:
import rhinoscriptsyntax as rs
plane = rs.WorldXYPlane()
or to define a plane from 3 different point tuples use: