[Maya] Option to Override Material When Importing?


Is there a way to override material on the same name when importing a scene?

For example,

  1. Scene A has a material name long_haul
  2. Scene B also has a material name long_haul.
  3. When importing Scene B to Scene A. I want the Scene B material long_haul to override the Scene A one.

I tried several options on File>Import Command but it forces to rename the Scene B long haul rather than replacing. I also tried the cmds.file(i=True) with several parameters and I still get the same result (i.e. it renames rather than replaces the material).

Is this possible?

Hi! Have you thought about layering/dynamic override ?