Hello,
I have a material function which I am currently copying, pasting and connecting within master materials. Whilst it would be great to only have one or two master materials, I’m working via Datasmith with Revit / Max data and I’m trying to automate this step. I’ve got around 80 master materials right now, all with different input structures.
I’ve made an editor utility blueprint, and I can’t seem to do anything more than rename materials in the editor. I’ve used this naming method to see if I can access material properties - working fine - but I can’t get ‘connect material property’ to work nor do I know how to add a function to master materials en masse. Hence I’m now stuck. How do I target the Material Editing Library?
I was hoping this blueprint would take the value connected to Specular and connect it to Metallic as a test.
In short, I would like to:
- add the function ‘bp_4d’ to each (master) material selected in editor
- add the other variables (these variables are overridden later using dynamic material instances)
- query the material type (opaque, opacity mask, translucent)
- connect to emissive and opacity mask if opaque and change class, etc for other types
Thanks in advance!