PDA

View Full Version : possible bug : Angle2



rbeson
08-10-2010, 11:57 AM
Hi Steve,

Not able to get angle2 function working. It is returning this error:

Message: 'type' object has no attribute '__index__'

Traceback (most recent call last):
line 3, in <module>, "<string>"
line 306, in coerce3dpointlist, "C:\Users\Beson\AppData\Roaming\McNeel\Rhinoceros\5 .0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py"


Cheers,
Rob

Steve Baer
08-10-2010, 04:39 PM
Hi Rob,
Does the example on this page work?
http://www.rhino3d.com/5/ironpython/rhino_math/angle2.htm

Do you have some sample script that causes angle2 to throw this exception?
Thanks,
-Steve

rbeson
08-11-2010, 08:14 AM
Hmmn - tried it again this morning and it seems to work now. Not sure what was happening - sorry about that.
Cheers,
Rob