Grasshopper

algorithmic modeling for Rhino

hi,

 

is there a simple way to export a list, say of numeric vales to a text file?

Simialr to the "readfile" component, just write ...

  

thanks,

Peter

Views: 7361

Replies to This Discussion

Hey Peter

Connect a panel component to you list of numbers then right click on it and click the stream contents option, then set the stream destination below. Note this will continually stream the numbers to a txt file as they change, if you want to stop streaming the contents you just need to reclick on the stream contents option again to save the last list, though this will be overwritten again if re activated...

I have not worked out anyway to set a parametric boolean for streaming contents on/off yet though. Any ideas welcome...

Matt
cool, works fine, thanks
I'll think about the on / off thing
Thanks Matt, it helped me too

Hey Mania,

 

This discussion may interest you if want to control the if the text is written to file or not.

http://www.grasshopper3d.com/forum/topics/suggestion-improve-text?x...

 

Does not seem like David has include the component yet in the Standard GH tool set though.

 

Hope this helps

Matt

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