<?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 Is there a command to rename the Explicit channel name? in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-command-to-rename-the-explicit-channel-name/m-p/11710885#M1396</link>
    <description>&lt;P&gt;&lt;STRONG&gt;I want to know the command to type the name AO in the red box in the picture, does anyone know?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;The node created Render Setting - Render Elements - ExtratTex and renamed the node Ao.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;I want to know the command to change the name in the red box.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1168191iE6194FF3F410D02B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2023 17:29:33 GMT</pubDate>
    <dc:creator>tjdrbrla</dc:creator>
    <dc:date>2023-01-27T17:29:33Z</dc:date>
    <item>
      <title>Is there a command to rename the Explicit channel name?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-command-to-rename-the-explicit-channel-name/m-p/11710885#M1396</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I want to know the command to type the name AO in the red box in the picture, does anyone know?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;The node created Render Setting - Render Elements - ExtratTex and renamed the node Ao.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;I want to know the command to change the name in the red box.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1168191iE6194FF3F410D02B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 17:29:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-command-to-rename-the-explicit-channel-name/m-p/11710885#M1396</guid>
      <dc:creator>tjdrbrla</dc:creator>
      <dc:date>2023-01-27T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a command to rename the Explicit channel name?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-command-to-rename-the-explicit-channel-name/m-p/11712707#M1397</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;explicit channel name is just an Attribute ("vray_explicit_name_extratex") on the AO object that controls that renderelement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can change it using setAttr:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import maya.cmds as mc

node_Name = "vrayRE_AO"
explicit_channel_name= "Name_You_Want"
mc.setAttr("{}.vray_explicit_name_extratex".format(node_Name), explicit_channel_name, type= "string")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 18:12:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-command-to-rename-the-explicit-channel-name/m-p/11712707#M1397</guid>
      <dc:creator>Kahylan</dc:creator>
      <dc:date>2023-01-28T18:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a command to rename the Explicit channel name?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-command-to-rename-the-explicit-channel-name/m-p/11712773#M1398</link>
      <description>Thanks ~</description>
      <pubDate>Sat, 28 Jan 2023 19:02:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-command-to-rename-the-explicit-channel-name/m-p/11712773#M1398</guid>
      <dc:creator>tjdrbrla</dc:creator>
      <dc:date>2023-01-28T19:02:47Z</dc:date>
    </item>
  </channel>
</rss>

