Grasshopper

algorithmic modeling for Rhino

I used ghwol for importing an .xml file, and ghowl for making a string out of it, connecting it to a panel. But since its not possible to stream the file as .xml, what can you then do to get the data in the right format. I have attached the before .xml file and the after .txt file.

Views: 950

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

If you right-click a panel, then 'Stream Content', I think you can choose the extension (just save it with .xml in the end).

Does that work? (or probably I'm not understanding the question?)

Giulio

Thanks for the respond, and it is more or less correct. The problem is when i stream to an xml file or change the .txt file, then the code change to something not usable, se attached. So dunno if i have mistunderstood something really easy to do, or ill have to look in another way of doing it.

Attachments:

Mh, if I see it right, the error is on line 121, char 12:

"Anl�gstype"
Char is not expected.

See more...
Can you try just to see if that is the cause?
If so, it is probably a problem of encoding. It should be possible to fix it.

Giulio

lol, bingo. Would I never have thought of. Thanks a million. Hope I can be of some assistance for you, another time. Lets see if i can find a smart way of working this thing around.

- regards

I'm sure a small script can fix this. Feel free to message me if I should help with that.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service