<?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: Python Modules like XSI Plugins</title>
	<atom:link href="http://www.softimageblog.com/archives/179/feed" rel="self" type="application/rss+xml" />
	<link>http://www.softimageblog.com/archives/179#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=python-modules-like-xsi-plugins</link>
	<description>People and thoughts behind Softimage in production...</description>
	<lastBuildDate>Fri, 23 Jul 2010 12:23:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: anuj</title>
		<link>http://www.softimageblog.com/archives/179/comment-page-1#comment-17570</link>
		<dc:creator>anuj</dc:creator>
		<pubDate>Fri, 23 Jul 2010 11:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/179#comment-17570</guid>
		<description>thanks for such nice post
regards
Anuj
&lt;a href=&quot;http://www.winservers.co.in/&quot; rel=&quot;nofollow&quot;&gt;http://www.winservers.co.in/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>thanks for such nice post<br />
regards<br />
Anuj<br />
<a href="http://www.winservers.co.in/" rel="nofollow">http://www.winservers.co.in/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Digital Photography For Dummies &#124; Gary Zimm&#39;s Photo</title>
		<link>http://www.softimageblog.com/archives/179/comment-page-1#comment-17536</link>
		<dc:creator>Digital Photography For Dummies &#124; Gary Zimm&#39;s Photo</dc:creator>
		<pubDate>Thu, 29 Apr 2010 03:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/179#comment-17536</guid>
		<description>[...] Softimage Blog » Blog Archive » Python Modules like XSI Plugins [...]</description>
		<content:encoded><![CDATA[<p>[...] Softimage Blog » Blog Archive » Python Modules like XSI Plugins [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.softimageblog.com/archives/179/comment-page-1#comment-17258</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 09 May 2008 19:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/179#comment-17258</guid>
		<description>How would one get to XSIUtils inside?  Inside one of my modules I am trying to check if a Partition is a light or object.

&lt;pre lang=&quot;javascript&quot; line=&quot;1&quot;&gt;
oDatabase = XSIUtils.DataRepository
if (oDatabase.getidentifier(oPart, c.siObjectCLSID) == &#039;{7A1BB9D6-58A3-49D6-84BA-39429EDAD489}&#039;):
    partElem.setAttribute(&#039;type&#039;, &#039;Lights_Partition&#039;)
    LOG(&quot;Light&quot;)
else:
    partElem.setAttribute(&#039;type&#039;, &#039;Object_Partition&#039;)
    LOG(&quot;Object&quot;)
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>How would one get to XSIUtils inside?  Inside one of my modules I am trying to check if a Partition is a light or object.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">oDatabase <span style="color: #339933;">=</span> XSIUtils.<span style="color: #660066;">DataRepository</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>oDatabase.<span style="color: #660066;">getidentifier</span><span style="color: #009900;">&#40;</span>oPart<span style="color: #339933;">,</span> c.<span style="color: #660066;">siObjectCLSID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'{7A1BB9D6-58A3-49D6-84BA-39429EDAD489}'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span>
    partElem.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'type'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Lights_Partition'</span><span style="color: #009900;">&#41;</span>
    LOG<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Light&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #000066; font-weight: bold;">else</span><span style="color: #339933;">:</span>
    partElem.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'type'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Object_Partition'</span><span style="color: #009900;">&#41;</span>
    LOG<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Object&quot;</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: eric</title>
		<link>http://www.softimageblog.com/archives/179/comment-page-1#comment-16090</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Tue, 13 Nov 2007 19:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/179#comment-16090</guid>
		<description>Thanks for sharing your knowledge.
I&#039;m kind of new in scripting in xsi and your help is great!</description>
		<content:encoded><![CDATA[<p>Thanks for sharing your knowledge.<br />
I&#8217;m kind of new in scripting in xsi and your help is great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Moulder</title>
		<link>http://www.softimageblog.com/archives/179/comment-page-1#comment-16014</link>
		<dc:creator>David Moulder</dc:creator>
		<pubDate>Mon, 15 Oct 2007 18:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/179#comment-16014</guid>
		<description>Hi Dan,

Thanks for taking the time to do this.  It&#039;s helped me import my 1st Python Module in minutes.  I had spent some time trying to do this last night but to no avail.  I&#039;m going to read all you other scripting posts now.

Thanks again
All the best,

Dave</description>
		<content:encoded><![CDATA[<p>Hi Dan,</p>
<p>Thanks for taking the time to do this.  It&#8217;s helped me import my 1st Python Module in minutes.  I had spent some time trying to do this last night but to no avail.  I&#8217;m going to read all you other scripting posts now.</p>
<p>Thanks again<br />
All the best,</p>
<p>Dave</p>
]]></content:encoded>
	</item>
</channel>
</rss>
