<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Brian Escribano - Python Scripts</title>
    <link>http://brian.meljunky.com/</link>
    <description>Technical Setup Artist</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2-beta5 - http://www.s9y.org/</generator>
    <pubDate>Thu, 12 Mar 2009 14:36:41 GMT</pubDate>

    <image>
        <url>http://brian.meljunky.com/templates/meljunky/img/s9y_banner_small.png</url>
        <title>RSS: Brian Escribano - Python Scripts - Technical Setup Artist</title>
        <link>http://brian.meljunky.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Plugin: renameSequence</title>
    <link>http://brian.meljunky.com/index.php?/archives/60-Plugin-renameSequence.html</link>
            <category>Python Scripts</category>
    
    <comments>http://brian.meljunky.com/index.php?/archives/60-Plugin-renameSequence.html#comments</comments>
    <wfw:comment>http://brian.meljunky.com/wfwcomment.php?cid=60</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://brian.meljunky.com/rss.php?version=2.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    

    <author>nospam@example.com (Brian Escribano)</author>
    <content:encoded>
    
Renames a sequence of nodes using a defined prefix, increment variable(INC), and suffix.&lt;br /&gt;The INC can consists or numbers, lowercase letters or uppercase letters.&lt;br /&gt;&lt;br /&gt;Benefits:&lt;br /&gt;Nodes will be named correctly if the name already exist later in the selection.&lt;br /&gt;For example given the nodes [&#039;spam3&#039;,&#039;spam1&#039;, &#039;spam4&#039;, &#039;spam2&#039;] parented under the world&lt;br /&gt;to be named spam[1-4] will be named correctly without additional increments. Normally&lt;br /&gt;the nodes will be named [&#039;spam5&#039;, &#039;spam6&#039;, &#039;spam3&#039;, &#039;spam4&#039;]&lt;br /&gt;&lt;br /&gt;Selection: nurbsSphere1, nurbsSphere2, nurbsSphere3, nurbsSphere4, nurbsSphere5&lt;br /&gt;Python: cmds.renameSequence(prefix=&#039;mel_&#039;, alpha=True, suffix=&#039;_junky&#039;)&lt;br /&gt;MEL: renameSequence -prefix &amp;quot;mel_&amp;quot; -alpha true -suffix &amp;quot;_junky&amp;quot;;&lt;br /&gt;Will rename the nodes to:&lt;br /&gt;mel_a_junky, mel_b_junky, mel_c_junky, mel_d_junky, mel_e_junky, mel_f_junky&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;Download for Python 2.5.1 ( Maya 2008/2009) &lt;a href=&quot;index.php?/plugin/dlfile_37&quot;&gt;Here!&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt; &lt;br /&gt;&lt;a href=&quot;http://brian.meljunky.com/index.php?/archives/60-Plugin-renameSequence.html#extended&quot;&gt;Continue reading &quot;Plugin: renameSequence&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 06 Mar 2009 15:12:22 -0700</pubDate>
    <guid isPermaLink="false">http://brian.meljunky.com/index.php?/archives/60-guid.html</guid>
    
</item>
<item>
    <title>Python: crossRename</title>
    <link>http://brian.meljunky.com/index.php?/archives/53-Python-crossRename.html</link>
            <category>Python Scripts</category>
    
    <comments>http://brian.meljunky.com/index.php?/archives/53-Python-crossRename.html#comments</comments>
    <wfw:comment>http://brian.meljunky.com/wfwcomment.php?cid=53</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://brian.meljunky.com/rss.php?version=2.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    

    <author>nospam@example.com (Brian Escribano)</author>
    <content:encoded>
    
&lt;p&gt;I wrote this class, while rigging two character simultaneously for my new reel. The rigs are very similar and the names of the nodes are the same. Felt that I was spending too much time renaming the nodes on the second character by referencing the first character&#039;s names. Tried copy/paste which did work but wasn&#039;t time saving. This class allow a selection of node names to be stored in a file and loaded in another instance of Maya with a search and replace feature.&lt;/p&gt;&lt;p&gt;
&lt;table width=&quot;80%&quot; height=&quot;100&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;
  &lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; style=&quot;width: 50%;&quot;&gt;&lt;font face=&quot;times new roman,times,serif&quot;&gt;#Character 1&lt;br /&gt;
old = crossRename()
&lt;br /&gt;
old.storeSelect()
&lt;br /&gt;old.setPath(&#039;usd&#039;)
&lt;br /&gt;old.write(&#039;tempSelect&#039;)&lt;/font&gt;&lt;/td&gt;
&lt;td style=&quot;width: 50%;&quot;&gt;&lt;font face=&quot;times new roman,times,serif&quot;&gt;#Character 2&lt;br /&gt;
new = crossRename()
&lt;/font&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;times new roman,times,serif&quot;&gt;new.storeSelect()
&lt;/font&gt;&lt;/div&gt;&lt;font face=&quot;times new roman,times,serif&quot;&gt;new.setPath(&#039;usd&#039;)
&lt;br /&gt;new.load(&#039;tempSelect&#039;)
&lt;br /&gt;new.rename()&lt;/font&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;Any feature request please let me know. If you like the script please email me, sign the guestbook or leave comment&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;Download the crossRename &lt;a href=&quot;http://brian.meljunky.com/index.php?/plugin/dlfile_33&quot;&gt;here!&lt;/a&gt;&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://brian.meljunky.com/index.php?/archives/53-Python-crossRename.html#extended&quot;&gt;Continue reading &quot;Python: crossRename&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 27 May 2008 22:39:27 -0600</pubDate>
    <guid isPermaLink="false">http://brian.meljunky.com/index.php?/archives/53-guid.html</guid>
    
</item>
<item>
    <title>Plugin: multiConnectAttr</title>
    <link>http://brian.meljunky.com/index.php?/archives/46-Plugin-multiConnectAttr.html</link>
            <category>Python Scripts</category>
    
    <comments>http://brian.meljunky.com/index.php?/archives/46-Plugin-multiConnectAttr.html#comments</comments>
    <wfw:comment>http://brian.meljunky.com/wfwcomment.php?cid=46</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://brian.meljunky.com/rss.php?version=2.0&amp;type=comments&amp;cid=46</wfw:commentRss>
    

    <author>nospam@example.com (Brian Escribano)</author>
    <content:encoded>
    &lt;p&gt;multiConnectAttr allows for multiple attribute connections at one time with the option for a custom&lt;br /&gt;undo/doIt commands in ethier Python or MEL based off a list/array. Useful for updating a GUI that does not normally allows for undos. &lt;/p&gt;&lt;p align=&quot;center&quot;&gt;Download for Python 2.4.3 ( Maya 8.5) &lt;a href=&quot;http://brian.meljunky.com/index.php?/plugin/dlfile_29&quot;&gt;Here!&lt;/a&gt;&lt;br /&gt;Download for Python 2.5.1 ( Maya 2008) &lt;a href=&quot;http://brian.meljunky.com/index.php?/plugin/dlfile_30&quot;&gt;Here!&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;left&quot;&gt;Please email me or use the Contact Form if you like the multiConnectAttr Command. You can also leave a comment at this very entry or even sign the Guestbook.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://brian.meljunky.com/index.php?/archives/46-Plugin-multiConnectAttr.html#extended&quot;&gt;Continue reading &quot;Plugin: multiConnectAttr&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 25 Apr 2008 15:41:24 -0600</pubDate>
    <guid isPermaLink="false">http://brian.meljunky.com/index.php?/archives/46-guid.html</guid>
    
</item>
<item>
    <title>Python Command: swapName</title>
    <link>http://brian.meljunky.com/index.php?/archives/43-Python-Command-swapName.html</link>
            <category>Python Scripts</category>
    
    <comments>http://brian.meljunky.com/index.php?/archives/43-Python-Command-swapName.html#comments</comments>
    <wfw:comment>http://brian.meljunky.com/wfwcomment.php?cid=43</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://brian.meljunky.com/rss.php?version=2.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    

    <author>nospam@example.com (Brian Escribano)</author>
    <content:encoded>
    &lt;p&gt;Description:&lt;br /&gt;    Does a search and replace on the first node and renames the second based off the results&lt;br /&gt;    Python: cmds.swapName( &#039;lf_armCTRL&#039;, &#039;nurbsSphere1&#039;, s=&#039;lf&#039;, r=&#039;rt&#039;) &lt;br /&gt;    MEL: swapName -s lf -r rt &amp;quot;lf_armCTRL&amp;quot; &amp;quot;nurbsSphere1&amp;quot;;&lt;br /&gt;    Will rename &#039;nurbsSphere1&#039; to &#039;rt_armCTRL&#039;&lt;br /&gt;    &lt;br /&gt;    Flag Descriptions:&lt;br /&gt;        -h -help                Displays help&lt;br /&gt;        -o -occurs   Int        Define how many occurances for search/replace, default is -1&lt;br /&gt;        -r -replace  String     Defines the string to replace for&lt;br /&gt;        -s -search   String     Defines the string to search for &lt;/p&gt;&lt;p&gt;Drop the files in your plugin path specific to your Maya version and load the swapNamePlugin.py as the plugin&lt;/p&gt;&lt;p /&gt;&lt;p align=&quot;center&quot;&gt;Download for Python 2.4.3 ( Maya 8.5) &lt;a href=&quot;http://brian.meljunky.com/index.php?/plugin/dlfile_27&quot;&gt;Here!&lt;/a&gt;&lt;br /&gt;Download for Python 2.5.1 ( Maya 2008) &lt;a href=&quot;http://brian.meljunky.com/index.php?/plugin/dlfile_28&quot;&gt;Here!&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;Please email me or use the Contact Form if you like the swapName Command. You can also leave a comment at this very entry or even sign the Guestbook. I would like to hear feedback about my first Python command.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 14 Mar 2008 22:42:54 -0600</pubDate>
    <guid isPermaLink="false">http://brian.meljunky.com/index.php?/archives/43-guid.html</guid>
    
</item>

</channel>
</rss>