Grasshopper

algorithmic modeling for Rhino

Retrieve item or folder names from directory.

Hello,

I am wondering the way to retrieve a list of name from a given directory. For example, i have a specific folder, containing more than 500 sub-folders inside thus I want to collect the names for further analysis grasshopper as a string. 

Is there any 3rd party plug that make it possible in grasshopper environment?

Thanks in advance.

Kind regards,

Amaraa~

Views: 1145

Replies to This Discussion

It is fairly straightforward to examine files and folders using C#. The attached file contains a few Filesystem components that perform standard functions. One for finding subfolders inside a given folder, one for finding all files in a specific folder and one for examining the name, extension and containing folder of a specific file.

Attachments:

It was an instant reply, thank you very much Mr.Rutten

I think it will be beneficial for other people if you could add it on group like Milkbox.

Anyways. Have a great day ahead~

Kind regards,
Amaraa.

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