Grasshopper

algorithmic modeling for Rhino

Hi all,

I am getting an error using the psychrometric chart with values imported from a csv file that I don't really understand..

Runtime error (TypeErrorException): unsupported operand type(s) for +: 'str' and 'int'

Traceback:
line 931, in colorMesh, "<string>"
line 1819, in main, "<string>"
line 1981, in script
line 4384, in calcHumidRatio, "<string>"

I don't understand where this could come from. Please see attached a file with the issue.

Bests

Aurelien

Views: 282

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

Aurelien,

Your data is not recognized as numbers but as text and that's why the chart is not accepting the input. Pass the data through a number component and you'll be set. See image.

OMG Thanks a lot Abraham,

I was wondering how to correct this for hours... I didnt' thought Grasshopper made any difference between strings and numbers, so thanks for teaching me this also :)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service