<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Maya Python Nodes &#8211; Compound Attributes</title>
	<atom:link href="http://adammechtley.com/2008/10/maya-python-nodes-compound-attributes/feed/" rel="self" type="application/rss+xml" />
	<link>http://adammechtley.com/2008/10/maya-python-nodes-compound-attributes/</link>
	<description>Tips, Tutorials, and Tools - by Adam Mechtley</description>
	<lastBuildDate>Mon, 06 Feb 2012 22:38:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: dimmer</title>
		<link>http://adammechtley.com/2008/10/maya-python-nodes-compound-attributes/comment-page-1/#comment-1103</link>
		<dc:creator>dimmer</dc:creator>
		<pubDate>Mon, 30 Jan 2012 16:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.adammechtley.com/?p=181#comment-1103</guid>
		<description>great blog!</description>
		<content:encoded><![CDATA[<p>great blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duncan jb</title>
		<link>http://adammechtley.com/2008/10/maya-python-nodes-compound-attributes/comment-page-1/#comment-1102</link>
		<dc:creator>duncan jb</dc:creator>
		<pubDate>Mon, 30 Jan 2012 16:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.adammechtley.com/?p=181#comment-1102</guid>
		<description>Fantastic blog! Great!</description>
		<content:encoded><![CDATA[<p>Fantastic blog! Great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nancy Wise</title>
		<link>http://adammechtley.com/2008/10/maya-python-nodes-compound-attributes/comment-page-1/#comment-292</link>
		<dc:creator>Nancy Wise</dc:creator>
		<pubDate>Sat, 06 Mar 2010 23:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.adammechtley.com/?p=181#comment-292</guid>
		<description>Cool Thanks for this blog. I am a newbie at development and this will be a big help.</description>
		<content:encoded><![CDATA[<p>Cool Thanks for this blog. I am a newbie at development and this will be a big help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://adammechtley.com/2008/10/maya-python-nodes-compound-attributes/comment-page-1/#comment-259</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Thu, 14 Jan 2010 07:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.adammechtley.com/?p=181#comment-259</guid>
		<description>As a note, if your command contains multiple attributes, some of which are compound and some of which are not, you should include a further test. Otherwise, a call to plug.parent() on a non-compound plug will error out. For example:

&lt;pre class=&quot;code&quot;&gt;def compute(self, plug, dataBlock):
	if ( plug == customNode.out or (plug.isChild() and plug.parent() == customNode.out )):
		# Do cool stuff&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>As a note, if your command contains multiple attributes, some of which are compound and some of which are not, you should include a further test. Otherwise, a call to plug.parent() on a non-compound plug will error out. For example:</p>
<pre class="code">def compute(self, plug, dataBlock):
	if ( plug == customNode.out or (plug.isChild() and plug.parent() == customNode.out )):
		# Do cool stuff</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lalo</title>
		<link>http://adammechtley.com/2008/10/maya-python-nodes-compound-attributes/comment-page-1/#comment-212</link>
		<dc:creator>Lalo</dc:creator>
		<pubDate>Sat, 14 Nov 2009 12:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.adammechtley.com/?p=181#comment-212</guid>
		<description>Another option would be to &quot;flatten&quot; your dependencies, like:
attributeAffects(in, outX)
attributeAffects(in, outY)
attributeAffects(in, outZ)
attributeAffects(in, out)
But in a first look the solution you presented seems to be better.</description>
		<content:encoded><![CDATA[<p>Another option would be to &#8220;flatten&#8221; your dependencies, like:<br />
attributeAffects(in, outX)<br />
attributeAffects(in, outY)<br />
attributeAffects(in, outZ)<br />
attributeAffects(in, out)<br />
But in a first look the solution you presented seems to be better.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

