<?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: Python Arnold SSS Set Name Command in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7090044#M55263</link>
    <description>&lt;P&gt;SSS Set Name is a string. It doesn't create a set in Maya.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://support.solidangle.com/display/AFCUG/Sub-Surface+Scattering#Sub-SurfaceScattering-SSSBetweenObjects" target="_blank"&gt;https://support.solidangle.com/display/AFCUG/Sub-Surface+Scattering#Sub-SurfaceScattering-SSSBetweenObjects&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attribute names is&amp;nbsp;aiSssSetname&lt;/P&gt;</description>
    <pubDate>Wed, 17 May 2017 14:40:03 GMT</pubDate>
    <dc:creator>Stephen.Blair</dc:creator>
    <dc:date>2017-05-17T14:40:03Z</dc:date>
    <item>
      <title>Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7071398#M55260</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to write a Python script to add objects to a certain SSS Set Name but the Python command doesn't show up in the editor and I can't find any documentation for the command. Does anyone know how to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;David.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 10:45:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7071398#M55260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-09T10:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7080725#M55261</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cmds.select( 'spinning_ball', r=True )&lt;BR /&gt;cmds.rename( 'sphere1' )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;replace 'spinning_ball' with the name of your node and 'sphere1' with what you want to name it.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 17:56:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7080725#M55261</guid>
      <dc:creator>faline.custodio.da.silva</dc:creator>
      <dc:date>2017-05-12T17:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7089980#M55262</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SSS Set Name.JPG" style="width: 582px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/357086iA8F476AA3131FFA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="SSS Set Name.JPG" alt="SSS Set Name.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No am not trying to rename something. I am trying to set an attribute. Specifically a certain Arnold attribute. Unfortunately the Script Editor only echos attributes with a MEL command. However it does seem to echo some Arnold commands too. This is called a Set Name but when assigning a set name to an object it doesn't actually create a set new set in the outliner so I am at a loss as to how to script this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;David.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 14:24:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7089980#M55262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-17T14:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7090044#M55263</link>
      <description>&lt;P&gt;SSS Set Name is a string. It doesn't create a set in Maya.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://support.solidangle.com/display/AFCUG/Sub-Surface+Scattering#Sub-SurfaceScattering-SSSBetweenObjects" target="_blank"&gt;https://support.solidangle.com/display/AFCUG/Sub-Surface+Scattering#Sub-SurfaceScattering-SSSBetweenObjects&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attribute names is&amp;nbsp;aiSssSetname&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 14:40:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7090044#M55263</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2017-05-17T14:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841097#M55264</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having the same problem ... I'm trying to set the "SSS Set Name" attribute ... and with this script I'm able to get its value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import maya cmds as cmds&lt;/P&gt;&lt;P&gt;sel = cmds.ls (sl=True)&lt;/P&gt;&lt;P&gt;cmds.getAttr (sel[0] + ".aiSssSetname")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I'm not able to SET its value with this script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cmds.setAttr (sel[0] + ".aiSssSetname", "share_SSS")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It gives me this error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;setAttr: 'pSphereShape1.aiSssSetname' is not a simple numeric attribute. Its values must be set with a -type flag.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do somebody knows which is that flag ???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 13:32:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841097#M55264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-09T13:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841101#M55265</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having the same problem ... I'm trying to set the "SSS Set Name" attribute ... and with this script I'm able to get its value:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;import maya cmds as cmds&lt;/P&gt;
&lt;P&gt;sel = cmds.ls (sl=True)&lt;/P&gt;
&lt;P&gt;cmds.getAttr (sel[0] + ".aiSssSetname")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but I'm not able to SET its value with this script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;cmds.setAttr (sel[0] + ".aiSssSetname", "share_SSS")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It gives me this error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;setAttr: 'pSphereShape1.aiSssSetname' is not a simple numeric attribute. Its values must be set with a -type flag.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do somebody knows which is that flag ???&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the setAttr documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 13:35:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841101#M55265</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2018-03-09T13:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841563#M55266</link>
      <description>&lt;P&gt;Ok finally I got it !!! ... Thank you Stephen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to SET that attribute:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;import maya.cmds as cmds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sel = cmds.ls (sl=True)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for each in sel:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cmds.setAttr (each + "aiSssSetname", "&lt;FONT color="#FF0000"&gt;share_SSS&lt;/FONT&gt;", type="string")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where "share_SSS" is the new value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 16:26:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841563#M55266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-09T16:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841646#M55267</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry , I forgot one dot ...:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;import maya.cmds as cmds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sel = cmds.ls (sl=True)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for each in sel:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cmds.setAttr (each + ".aiSssSetname", "&lt;FONT color="#FF0000"&gt;share_SSS&lt;/FONT&gt;", type="string")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where "share_SSS" is the new value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 16:53:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/7841646#M55267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-09T16:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Python Arnold SSS Set Name Command</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/10161564#M55268</link>
      <description>&lt;P&gt;TYVM, this was driving me nuts, since the SSS set name doesn't show up in the attribute spread sheet.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 17:10:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-arnold-sss-set-name-command/m-p/10161564#M55268</guid>
      <dc:creator>Lindsey_Robbins</dc:creator>
      <dc:date>2021-03-16T17:10:26Z</dc:date>
    </item>
  </channel>
</rss>

