algorithmic modeling for Rhino
I was fallowing this tutorial:
https://www.youtube.com/watch?v=bRps0aKVq4Q&index=89&list=U...
and this much of the code:
import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino
if active:
for i in range(len(geo)):
geo_id = geo[i]
sc.doc = ghdoc
doc_object = rs.coercerhinoobject(geo_id)
geometry = doc_object.Geometry
attributes = doc_object.Attributes
when i test it it returns:
Runtime error (MissingMemberException): 'NoneType' object has no attribute 'Geometry'
Traceback:
line 17, in script
I DID CHANGE TO LIST ACCESS which is the most common problem. So i don't know what is wrong? I'll post the file below.
Tags:
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by