Grasshopper

algorithmic modeling for Rhino

Phyton: Runtime error (TypeErrorException): len() of unsized object

Hi all, 

Who know where is the mistake inside my phyton component? Why I cant create a Nurbs curve? Python return a mistake "Runtime error (TypeErrorException): len() of unsized object"

Views: 997

Attachments:

Replies to This Discussion

Hi Valentin,

You supplied a single value (0) for knots, while rs.AddNurbsCurve function requires a list of curve knot values.
Check the attached file.

Attachments:

Thank you Djordje,
You very helped to me. You very cool to know Python. I am beginner user in Python.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service