title: Is there a way to automate changing the unresolved name in Maya's reference editor?
body: <p>I'm not sure if this is a kind of beginner question or not, but I've been searching on internet and nothing seemed to solve my problem. </p>
  
  <p>I'm working in a project that requires to change the <code>unresolved name</code> of a referenced object in scene into a form of relative name. Say if I have a sphere in the same folder that my scene's in, and I referenced the sphere into the scene then when I open my reference editor, the 'unresolved name' of the sphere maybe something like <code>path\to\the\sphere</code>. I need to change it to <code>sphere</code> only, for now I'm doing it manually. Is there a way to automate this process by Python?</p>
  
  <p>I used to dealt with editing texture's path before but it's pretty easy since I can use the <code>fileTextureName</code> attribute to change the path and set the path directly. It will be great if reference nodes have some attribute like this</p>
  
  <p>I expect the result of the <code>unresolved name</code> will be from something like <code>path\to\the\ref</code> to <code>ref</code> only</p>