Hey guys,
I'm looking at an old project from someone else that used reference edits a lot and I am having difficulty applying the edits since they use placeholder namespaces so I have no idea how this worked back when it was originally made (maya 2012 or something like that)
In the editMa file there are two placeholder namespaces, <main> and <edit>. <main> gets replaced with whatever I put in under the appyTo flag, the problem I'm having is with the <edit> placeholder namespace. The way I understand it is that I could use the mapPlaceHolderNamespace flag which takes two argumens one of which is a reference node but I can't seem to get that to work. I have also tried using the replaceNames flag but that doesn't seem to do anything as well as the swapNamespace which I would think would have worked since that seems to be the only way in a pre-2014 maya to achieve this unless I am fantastically mistaken (which could very well be the case).
Here is the file command I am running
mc.file('path/to/file.editMA',
i=True,
type='editMA',
namespace='char:N0_edit',
applyTo:'char:N0RN',
mapPlaceHolderNamespace=('<edit>','char:N0_editRN')
)
(as you can see there are nested namespaces involved as well)
Any ideas or idiot mistakes I'm doing?
Cheers,
Svenni