Heya,
Disclaimer: I do not really have a clue about maya. either usage-wise (beyond the very basics that is) nor on the scripting side (also beyond the very basics of using mayapy or maya.cmds a bit). Hence the question(s) might look stupid to a seasoned user.
I have a big scene referencing various other scenes via maya’s referencing system. It also references its shaders from maya files (one file per shader). I am round-tripping this scene with Max and am currently concerned with getting things back up in maya. So what i need to do is iterate over all shaders and replace them with the original shaders from the external .mb files.
How would i best go about this? Can i replace the shaders? or do i need to iterate over objects and assign the old shaders? Can this be done without loading the references?
Any input would be really appreciated!
Regards,
Thorsten