<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Removing Proxy Reference using Reference Editor in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/removing-proxy-reference-using-reference-editor/m-p/7976871#M38670</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just want to report something that I consider a bug - hope that's the right place to do it. If not - please point me to one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I noticed, that when you use Proxy References in your scene and you do 'Remove Reference', only the original reference file gets removed. The Proxy Manager and Reference nodes representing other proxies still stay in the scene. This is causing major issues, as people are not aware of this. We have a tool that manages reference proxies in our scenes and it gets confused by those leftovers, giving unpredictable results etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way to reproduce it:&lt;/P&gt;&lt;P&gt;You can use the scene attached - it's as simple as it can:&lt;/P&gt;&lt;P&gt;1) open Proxy_RefTEST&amp;nbsp; - it has a reference to Sphere_RefTEST and a proxy - Cube_RefTEST&lt;/P&gt;&lt;P&gt;2) In Script Editor type in:&lt;/P&gt;&lt;PRE&gt;print pm.ls(typ="reference")
print pm.ls(typ="proxyManager")&lt;/PRE&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;PRE&gt;[nt.Reference(u'Sphere_RefTESTRN'), nt.Reference(u'Sphere_RefTESTSphere_RefTESTPM1RN'), nt.Reference(u'sharedReferenceNode')]
[nt.ProxyManager(u'Sphere_RefTESTPM')]&lt;/PRE&gt;&lt;P&gt;2) In Reference Editor do 'Remove Reference' - either using the '-' button in the toolbar, or using Right-Click command Reference \ Remove Reference&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;In the script editor type in the same:&lt;/P&gt;&lt;PRE&gt;print pm.ls(typ="reference")
print pm.ls(typ="proxyManager")&lt;/PRE&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;PRE&gt;[nt.Reference(u'Sphere_RefTESTSphere_RefTESTPM1RN'), nt.Reference(u'sharedReferenceNode')]
[nt.ProxyManager(u'Sphere_RefTESTPM')]&lt;/PRE&gt;&lt;P&gt;As you can see - only one reference file had been removed. The other stay and pollute the scene.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason they're invisible in the Reference Editor is the connection in ProxyManager - Active Proxy pointing to a non-existing reference node. If you manually re-connect it to the other existing&amp;nbsp;reference file and restart Reference Editor, it will appear again (as unloaded reference).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there are tools to remove proxies one by one and this gives a clean result, but this is not what people intuitively do.&lt;/P&gt;&lt;P&gt;'Removing Reference' command should remove all the proxies and proxyManager as well as the original reference file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested this on Maya 2016 and 2017&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 May 2018 10:58:56 GMT</pubDate>
    <dc:creator>juliusz.kaczmarek</dc:creator>
    <dc:date>2018-05-03T10:58:56Z</dc:date>
    <item>
      <title>Removing Proxy Reference using Reference Editor</title>
      <link>https://forums.autodesk.com/t5/maya-forum/removing-proxy-reference-using-reference-editor/m-p/7976871#M38670</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just want to report something that I consider a bug - hope that's the right place to do it. If not - please point me to one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I noticed, that when you use Proxy References in your scene and you do 'Remove Reference', only the original reference file gets removed. The Proxy Manager and Reference nodes representing other proxies still stay in the scene. This is causing major issues, as people are not aware of this. We have a tool that manages reference proxies in our scenes and it gets confused by those leftovers, giving unpredictable results etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way to reproduce it:&lt;/P&gt;&lt;P&gt;You can use the scene attached - it's as simple as it can:&lt;/P&gt;&lt;P&gt;1) open Proxy_RefTEST&amp;nbsp; - it has a reference to Sphere_RefTEST and a proxy - Cube_RefTEST&lt;/P&gt;&lt;P&gt;2) In Script Editor type in:&lt;/P&gt;&lt;PRE&gt;print pm.ls(typ="reference")
print pm.ls(typ="proxyManager")&lt;/PRE&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;PRE&gt;[nt.Reference(u'Sphere_RefTESTRN'), nt.Reference(u'Sphere_RefTESTSphere_RefTESTPM1RN'), nt.Reference(u'sharedReferenceNode')]
[nt.ProxyManager(u'Sphere_RefTESTPM')]&lt;/PRE&gt;&lt;P&gt;2) In Reference Editor do 'Remove Reference' - either using the '-' button in the toolbar, or using Right-Click command Reference \ Remove Reference&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;In the script editor type in the same:&lt;/P&gt;&lt;PRE&gt;print pm.ls(typ="reference")
print pm.ls(typ="proxyManager")&lt;/PRE&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;PRE&gt;[nt.Reference(u'Sphere_RefTESTSphere_RefTESTPM1RN'), nt.Reference(u'sharedReferenceNode')]
[nt.ProxyManager(u'Sphere_RefTESTPM')]&lt;/PRE&gt;&lt;P&gt;As you can see - only one reference file had been removed. The other stay and pollute the scene.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason they're invisible in the Reference Editor is the connection in ProxyManager - Active Proxy pointing to a non-existing reference node. If you manually re-connect it to the other existing&amp;nbsp;reference file and restart Reference Editor, it will appear again (as unloaded reference).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there are tools to remove proxies one by one and this gives a clean result, but this is not what people intuitively do.&lt;/P&gt;&lt;P&gt;'Removing Reference' command should remove all the proxies and proxyManager as well as the original reference file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested this on Maya 2016 and 2017&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 10:58:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/removing-proxy-reference-using-reference-editor/m-p/7976871#M38670</guid>
      <dc:creator>juliusz.kaczmarek</dc:creator>
      <dc:date>2018-05-03T10:58:56Z</dc:date>
    </item>
  </channel>
</rss>

