<?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 Re: Template and reference layer mode only affects some of the layer's objects in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4332054#M73711</link>
    <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;did you try to select&amp;nbsp; all your object in the viewport (not in the outliner) and then go to your tab layer at the bottom of your channel box&amp;nbsp; and create a new layer and assign all to this layer .Don't touch you outliner.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;maybe after this in your tab layer you can template your object.&lt;/P&gt;&lt;P&gt;Or select all the object&amp;nbsp; and go to display --&amp;gt; object display ---&amp;gt; template&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;see the link below you can find&amp;nbsp; the solution.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://download.autodesk.com/global/docs/maya2013/en_us/files/Scene_management_Make_an_object_unselectable_template.htm" title="maya user guide 2013"&gt;template an object&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2013 20:52:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-16T20:52:16Z</dc:date>
    <item>
      <title>Template and reference layer mode only affects some of the layer's objects</title>
      <link>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4331831#M73710</link>
      <description>&lt;P&gt;Hey guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm about to pull my hair off, so I thought I'd rather ask someone and make myself dinner while waiting for reply )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I modeled this simple airship, using Maya 2013, and I have all parts in one big group, divided into several smaller groups (wings, engines,...).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Outliner I select my top group, click "Create a new group and assign selected objects".&lt;/P&gt;&lt;P&gt;So far so good - &lt;STRONG&gt;when I toggle the visibility of my new layer, everything hides&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, &lt;STRONG&gt;when I toggle Template or Reference mode, only some of the objects do so&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already tried to ungroup everything, delete all layers and do it again, but no help. Actually, it's always same parts that are not changing. Unfortunately, I could not find anything weird with those objects. Also my subgroups doesn't seem to be related. For example my sub-group "engines" contains both the wing engine and one at the back, but only wing engines are affected by template mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your time.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 18:06:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4331831#M73710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T18:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Template and reference layer mode only affects some of the layer's objects</title>
      <link>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4332054#M73711</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;did you try to select&amp;nbsp; all your object in the viewport (not in the outliner) and then go to your tab layer at the bottom of your channel box&amp;nbsp; and create a new layer and assign all to this layer .Don't touch you outliner.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;maybe after this in your tab layer you can template your object.&lt;/P&gt;&lt;P&gt;Or select all the object&amp;nbsp; and go to display --&amp;gt; object display ---&amp;gt; template&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;see the link below you can find&amp;nbsp; the solution.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://download.autodesk.com/global/docs/maya2013/en_us/files/Scene_management_Make_an_object_unselectable_template.htm" title="maya user guide 2013"&gt;template an object&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:52:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4332054#M73711</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T20:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Template and reference layer mode only affects some of the layer's objects</title>
      <link>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4332135#M73712</link>
      <description>&lt;P&gt;Hello and thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Selecting objects in the scene instead of the Outliner, and then re-creating the layer, did not help. In fact it ended acting same - exactly same parts are refusing to go to template made.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I noticed something strange when playing with this and trying to figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe it all started happening when I went from modeling part to rigging part of this tutorial I'm following. Back then I had my airship layered into those sub-parts (wings etc.), but when I started rigging, I deleted all of them and created one global layer for my whole airship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I just loaded my old save with sub-layers, selected my airship and created my global layer without deleting sub-layers. Now whole airship won't go to template mode, only visibility toggle works. That's fine to me as all objects are now in two groups, and sub-layers are overriding ref/template toggle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now the interesting part. If I just "Delete Layer" any sub-layer, my global layer stays broken.&lt;/P&gt;&lt;P&gt;BUT if I "Empty layer" any sub-layer first, immediatelly the global layer template toggle starts working for those objects that were in that sub-layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To me that's indicating that if you just "Delete Layer", there is still some internal "invisible" connection, that's breaking my objects after I assign them to new layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I can't just undo that and Empty them first, as I already worked for several hours with these broken layers, I'd love to know a way how I can delete those invisible connections, or any other solution to make my layers work properly again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone understands what I'm trying to say, my English is sometimes confusing even to myself... ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 22:21:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4332135#M73712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T22:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Template and reference layer mode only affects some of the layer's objects</title>
      <link>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4332575#M73713</link>
      <description>&lt;P&gt;Alright guys, SOLVED, got reply from some guy at another forum, so here it is for future reference. Worked like a charm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;Originally Posted by&amp;nbsp;&lt;STRONG&gt;djx&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;All transform and shape nodes have an attribute called ".overrideEnabled". When you add something to a displayLayer, a connection is made from the displayLayer to the thing you added, so now the displayLayer sets the overrideEnabled attribute via a direct connection. Then when you delete the layer, the connection is broken, but often you will notice that the sate of the overrideEnabled attribute will be still set to 1. Since these attributes exist at all levels in a heirarchy it is sometimes hard to work out where to go to correct the problem.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;You can turn off all unconnected nodes as follows (python)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="smallfont"&gt;&lt;EM&gt;Code:&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;import pymel.core as pm&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;for n in pm.ls(type='transform'):&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;try:&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; n.overrideEnabled.set(0)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; n.getShape().overrideEnabled.set(0)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;except:&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;pass&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:25:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/4332575#M73713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-17T10:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Template and reference layer mode only affects some of the layer's objects</title>
      <link>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/5244081#M73714</link>
      <description>&lt;P&gt;There's an easier way without going into python:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select the geometry that is disobeying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open its Attribute Editor (cntl a)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the top tabs, select one to the right (starting from far left), which is the Shape node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the menu arrows below, Open the Object Display menu, then open the Drawing Overides menu, and uncheck Enable Overide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Geometry should work normal now, enabling both the Template and Reference functions to work in Layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Sky&lt;/P&gt;</description>
      <pubDate>Sun, 31 Aug 2014 00:51:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/5244081#M73714</guid>
      <dc:creator>SkyDanley</dc:creator>
      <dc:date>2014-08-31T00:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Template and reference layer mode only affects some of the layer's objects</title>
      <link>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/11928401#M73715</link>
      <description>&lt;P&gt;It's not necessarily easier to use the GUI for that, as you might have multiple objects and shape spread out everywhere that cause the issue. And if you encounter the issue more than once, you might as well have the script to begin with.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 13:31:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/template-and-reference-layer-mode-only-affects-some-of-the-layer/m-p/11928401#M73715</guid>
      <dc:creator>Dautryl</dc:creator>
      <dc:date>2023-04-28T13:31:16Z</dc:date>
    </item>
  </channel>
</rss>

