How to change alpha value of all material in a single go?
Try running this script
import bpy
for mat in bpy.data.materials:
    if not mat.use_nodes: continue
    for n in mat.node_tree.nodes:
        if n.type == 'BSDF_PRINCIPLED':
            n.inputs[&quot;Alpha&quot;].default_value = 1