Python rhinoscriptsyntax error on Mac


#1

In running one of my scripts that runs fine on Windows, an exception was thrown on the Mac:

crvs=rs.ObjectsByType(4,state=1)

Mac doesn’t like the state= argument, it’s not expected… If I eliminate it, it runs fine.

Thanks, --Mitch


(Steve Baer) #2

The rhinoscriptsyntax functions on mac are pretty old and need to be updated. This is probably the cause of the problem you’re seeing Mitch. I’ve added updating the Mac plug-in to my “TODO” list.


#3

OK, thanks Steve, I just assumed that as Mac 481 (current build) is supposed to have all the stuff from Windows Rhino V5.5, that this stuff got automatically updated…

Cheers, --Mitch


(Steve Baer) #4

The python plug-in is a separate download that you installed. This was done so I could start figuring out how to implement a RhinoCommon plug-in architecture on Mac. It hasn’t been updated for a long time and really needs some love.


#5

Add rs.GetBoolean() to the list of stuff that doesn’t work…

–Mitch


#6

Hi,

here’s another python call which is unimplemented on the Mac:
rs.ClipboardText()

cheers
Peter