Sheet Parameters from Directory

I am trying to print a list of all sheets with name / number / rev from a directory of files?

I know on a single file this would be really straightforward - but cant figure out how to tie a directory list into the script.

Any help would be much appreciated!!
Thanks!!

Hi @jaclyn.s,

Yes it is possible to print sheet from files in a directory and get parameters from sheets.
But show us what you have tried.

Hi @Alban_de_Chasteigner thanks for the suggestion!
Unfortunately not all the models I am working with are linked & there are 100+ files I need to extract sheet names in use from.

I was trying the below - but this obviously only works on a file by file basis.

Would you know any way to get the content from a directory rather from links?

Thanks!

Hi @jaclyn.s,

Did you try my previous answer ?
You can extract all the parameter values in one click if your models are all in the same directory.

Hi @Alban_de_Chasteigner I had tried with the file path solution you posted, but not with this new directory.

The new directory option works :slight_smile:

Thanks for your help!!