Grasshopper

algorithmic modeling for Rhino

I am currently implementing grasshopper to data visualisation. And here I found some issues i want to shere. 

The point is that I ofthenly need to grab data in different formats, even different formats in one column. In general I hava all data as a strings.

This mean that I feed grasshopper with panel or strings from exel and read it back to numbers inside grasshopper, and here is the point. I connect the number component to the panel, and it turns red. Its ok, I need to re-write or cure data in list, - the point is that I cant find it there - number component dont give me nulls or empty items - so I cant detect the problematic string... I have to do it manually. So I need your help - maybe there is some trick or idea how to deal with that...

and its looks like that replace string component does not work at all... I had to explode string into elemets and use @replace elements in set@ component instead....

Views: 444

Replies to This Discussion

post your definition.

Replace String works as expected for me.

this one is for the first issue
and yess... I did ont save this def, now replace string works correctly, I dont know what happened...

I changed it so that nulls are now inserted on a failed conversion. It is a breaking behavioural change, but it is more consistent with other areas in Grasshopper so I think it makes sense.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

thanks! Actually I found a partial solution finding the difference in the sets of data trees. But it will be really much handler tomorrow

btw it is only on mine computer // command dont work (gives division instead of panel) now?

and all /6, +6, -6 commands dont work? (dont give 6 as a second parameter?)

These shortcuts are fixed now, they stopped working when Persistent Data became a tree in 0.9

--

David Rutten

david@mcneel.com

Poprad, Slovakia

https://dl.dropbox.com/u/9561169/grasshopper/Converse.ghcluster 

here is  the cluster I made to find and cure problematic strings. Anyway, from my point of view it will be better if component will give nulls instead of erasing unconverted data...

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