algorithmic modeling for Rhino
I'm somewhat new to Python, so maybe this is something pretty obvious that i'm just not seeing. Whenever I try to create an empty DataTree:
import Rhino
import clr
clr.AddReference("grasshopper")
from Grasshopper import DataTree
tree = DataTree[Rhino.Geometry.Point3d]()
It gives me an error:
Runtime error (MissingMemberException): 'type' object has no attribute '__index__'
Traceback:
line 6, in script
Any thoughts?
Tags:
Problem solved... It seems that I didn't have the latest version of the python plugin.
I get same problem with newest 5.1. What should I do?
Same problem, any solution?
First check that you are running the latest versions:
Rhino: Version 5 SR5 (5.5.30717.16015, 07/17/2013)
GH: 0.9.0056
GHPython: 0.5.1.0
You can check the GHPython component version by opening the editor, the version number should be displayed in the lower right corner.
If you are still getting the same error you might want to log it as an issue on the McNeel Github.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by