<?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: PolySelectTraverse Python equivalent? in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/polyselecttraverse-python-equivalent/m-p/8633894#M10648</link>
    <description>&lt;P&gt;To actually answer your question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;mel.eval('PolySelectTraverse 1')
#expand selection including diagonals
mel.eval('PolySelectTraverse 2')
#contract selection including diagonals
mel.eval('PolySelectTraverse 3')
#select only the border of what you've got
mel.eval('PolySelectTraverse 4')
#not sure, maybe does something with vertices
mel.eval('PolySelectTraverse 5')
#expand selection excluding diagonals
mel.eval('PolySelectTraverse 6')
#contract selection excluding diagonals&lt;/PRE&gt;
&lt;P&gt;7 8 and 9 don't seem to do anything but they don't return any errors either.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 08:36:46 GMT</pubDate>
    <dc:creator>forrest.brent</dc:creator>
    <dc:date>2019-03-04T08:36:46Z</dc:date>
    <item>
      <title>PolySelectTraverse Python equivalent?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/polyselecttraverse-python-equivalent/m-p/7648034#M10646</link>
      <description>&lt;P&gt;So if you grow/shrink a selection with 'shift + , or shift + ,' Maya will output "select `ls -sl`;PolySelectTraverse 1;select `ls -sl`;", I'm interested in the PolySelectTraverse part since I'm certain it's the function shrinking or growing the selection. Problem is, this function doesn't exist in the MEL and Python API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the function known as something else? Is it not a function at all? If so, then what's responsible for the growing and shrinking?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2017 22:49:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/polyselecttraverse-python-equivalent/m-p/7648034#M10646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-25T22:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: PolySelectTraverse Python equivalent?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/polyselecttraverse-python-equivalent/m-p/7648339#M10647</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is implemented in PolySelectTraverse.mel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could check the script file for how it works. If you would like to call it in Python, you could use &lt;A href="http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__CommandsPython_eval_html" target="_blank"&gt;mel.eval&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 06:43:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/polyselecttraverse-python-equivalent/m-p/7648339#M10647</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2017-12-26T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: PolySelectTraverse Python equivalent?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/polyselecttraverse-python-equivalent/m-p/8633894#M10648</link>
      <description>&lt;P&gt;To actually answer your question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;mel.eval('PolySelectTraverse 1')
#expand selection including diagonals
mel.eval('PolySelectTraverse 2')
#contract selection including diagonals
mel.eval('PolySelectTraverse 3')
#select only the border of what you've got
mel.eval('PolySelectTraverse 4')
#not sure, maybe does something with vertices
mel.eval('PolySelectTraverse 5')
#expand selection excluding diagonals
mel.eval('PolySelectTraverse 6')
#contract selection excluding diagonals&lt;/PRE&gt;
&lt;P&gt;7 8 and 9 don't seem to do anything but they don't return any errors either.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 08:36:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/polyselecttraverse-python-equivalent/m-p/8633894#M10648</guid>
      <dc:creator>forrest.brent</dc:creator>
      <dc:date>2019-03-04T08:36:46Z</dc:date>
    </item>
  </channel>
</rss>

