<?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 command attributeQuery doesn't return values on colorspace in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9524224#M17569</link>
    <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/134201"&gt;@mspeer&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your input on this.&lt;/P&gt;&lt;P&gt;I understood the connection and found exactly what I was looking for in the colorManagement Prefs:&lt;/P&gt;&lt;P&gt;cmds.colorManagementPrefs(q=True, inputSpaceNames=True)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 16:01:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-18T16:01:11Z</dc:date>
    <item>
      <title>Python command attributeQuery doesn't return values on colorspace</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9503863#M17564</link>
      <description>&lt;P&gt;Hi Hive Mind,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying this command for getting the available colorspace values for a given image plane in Python:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;print cmds.attributeQuery('colorSpace', n='&amp;lt;nameOfImagePlane&amp;gt;', le=True)&lt;/P&gt;&lt;P&gt;But this returns 'none'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surprisingly it works for the rest of the attributes of an imagePlane like 'type', 'displayMode', 'textureFilter' etc. returning the available values in them and just doesn't work for the 'colorSpace' attribute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone explain why it could do that and advice any solution for " getting the available colorspaces of a given imagePlane "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;BR /&gt;Sravan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2294340"&gt;@coding&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2020 15:30:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9503863#M17564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-09T15:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Python command attributeQuery doesn't return values on colorspace</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9504009#M17565</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;This is not an enum,&lt;/P&gt;
&lt;P&gt;it's just a simple string, you can get the current value with getAttr.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to get all available Color Space values try colorManagementCatalog or colorManagementPrefs .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2020 16:56:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9504009#M17565</guid>
      <dc:creator>mspeer</dc:creator>
      <dc:date>2020-05-09T16:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python command attributeQuery doesn't return values on colorspace</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9508293#M17566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting! Did&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/134201"&gt;@mspeer&lt;/a&gt;'s post sufficiently answer your questions? Anything else we can help with?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are all set, please consider marking the thread as solved by clicking the "Accept Solution" button - this will help other Maya users find their answers faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for being a part of our community!&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 23:06:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9508293#M17566</guid>
      <dc:creator>jordan.giboney</dc:creator>
      <dc:date>2020-05-11T23:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python command attributeQuery doesn't return values on colorspace</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9512857#M17567</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/134201"&gt;@mspeer&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. getAttr can only give us the current value like you mentioned. But I need a list of all available values. Looks like ColorManagementCatalog or Prefs is for colorspaces of the viewport ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for the attribute of colorSpaces on the imagePlane in particular (when you select an imagePlane and open the attribute editor you can see a dropdown list for selecting colorspaces). Would you say colorManagement also points to the same ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 13:11:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9512857#M17567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-13T13:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Python command attributeQuery doesn't return values on colorspace</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9513544#M17568</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Yes, that's what I wanted to say.&lt;/P&gt;
&lt;P&gt;You you can't get these values directly from the image plane, the drop down list shows all options provided by the Color Management, these are not individual options of the current image plane node.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 17:04:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9513544#M17568</guid>
      <dc:creator>mspeer</dc:creator>
      <dc:date>2020-05-13T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python command attributeQuery doesn't return values on colorspace</title>
      <link>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9524224#M17569</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/134201"&gt;@mspeer&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your input on this.&lt;/P&gt;&lt;P&gt;I understood the connection and found exactly what I was looking for in the colorManagement Prefs:&lt;/P&gt;&lt;P&gt;cmds.colorManagementPrefs(q=True, inputSpaceNames=True)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 16:01:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/python-command-attributequery-doesn-t-return-values-on/m-p/9524224#M17569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-18T16:01:11Z</dc:date>
    </item>
  </channel>
</rss>

