Accessing baked texture BSDF parameters


I’m trying to access the BSDF parameters of baked texture using python code
Is it possible to get parameters with modifying blender source code?
Or are there any tricks to calculate them?

Blender version: 2.92.0

You can get a material nodes’s parameter settings by right-clicking over one of their parameter buttons, then selecting Copy Full Data Path to copy that parameter’s socket code path to your clipboard.

Then with the copied code path, paste this into your Text Editor (or Python Console) and assign any values that work for that parameter, for example with the Base Color parameter you can assign it to a color:
= [1,0,0,1].

1 Like