Python Script with a list

Hello,

I am trying to extract some specific parameters from materials. I can extract a parameter from one material but I would like to do the same with a list of materials.

Thanks for your help

Hi,

The easiest way would be to learn some Python by yourself. Those two websites should do the trick :slight_smile:

https://www.learnpython.org/en/Lists

https://www.learnpython.org/en/Loops

Hello!
Try to learn about “for” method. An example:

In the second python, the last line is “OUT = finalList”, like this:
Forum

2 Likes

Thx I am starting to use python so I think that’s a good idea!

1 Like

That’s the idea :slight_smile:

You’ll just need now to apply those methods to what you wanted initially (you’ll see, it won’t be difficult now that you can code a for loop :wink: )

heck this detailed tutorial on…Python Loops