0
$\begingroup$

Is there a way get the list of selected materials that are selected on the Blender File's Outliner space and do something with that recently get list?

This method doesn't depend on what object is selected and/or which material is assgined to waht object.

enter image description here

$\endgroup$
3
  • $\begingroup$ That gets the materials assigned to an object. In this case I need to get the names of the selected materials in the Blender file. $\endgroup$
    – pekkuskär
    Commented Mar 25, 2022 at 10:38
  • $\begingroup$ Have you tried the script ? It does exactly what you're asking for, I just tested it. Just remove the parts about collections and objects $\endgroup$
    – Gorgious
    Commented Mar 25, 2022 at 11:04
  • $\begingroup$ Funny enoguh, not sure why it didn't work in 2.93, but it does in 3.0. I will accept your solution. $\endgroup$
    – pekkuskär
    Commented Mar 25, 2022 at 11:15

0

Browse other questions tagged .