How to find the name of the active material with python I want to add nodes to a node group, but for that, I need to know the name of the currently selected material. How can I find the active material with python?
The answer is bpy.context.active_object.active_material.name