linking Material editor parms to light map slots
I am trying to get a handle on vray lights texture slot and the material editor vray material / vray hdri map. The common work flow in max seems to be create a vray material add a vray map to the dif slot, pick a hdr map to use > drag the map to a new slot as a copy then drag that map to the texture map parm on the dome light as a instance.
It all seems like a lot of hard work just to look up a texture map for light and keep control of the vray hdri map ie I might want to shift the map via controls in the material editor.
What can I look at to script this, would love to get some sage advice