But if you don’t already have the material you need in a material slot, you can collect all the materials in an array, search for the material by name, then put it into a slot. Then you can do what ever you want with it.
allMats = #()
matToGet = "NAME_OF_MATERIAL"
for mat in scenematerials do
(
allMats = append allMats mat.name
)
selMat = findItem allMats matToGet
foundMat = scenematerials[selMat]
meditMaterials[1] = foundMat
Thanks a bunch! I checked into it and I realise I’m a long way from home here. Now the macro script recorder is giving me different input from yesterday when I try to record some lines. This will take forever.
If anyone is capable of writing a small script for compensation, please contact me. Reckon this will go faster and easier
We made a screen-capture of what we want to do. Goal is to have it in a one-click-button in the UI.