<?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 Maya 2018 Export OBJ Sequence Throwing Errors in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2018-export-obj-sequence-throwing-errors/m-p/8470687#M8523</link>
    <description>&lt;P&gt;I was wanting to, on Windows 10 for Maya 2018, run the script from this website:&amp;nbsp;&lt;A href="https://www.highend3d.com/maya/script/obj-i-o-obj-sequences-import-export-for-maya" target="_blank"&gt;https://www.highend3d.com/maya/script/obj-i-o-obj-sequences-import-export-for-maya&lt;/A&gt; in the Maya Script Editor to allow OBJ Sequences to be exported (so I could import them into After Effects), however, apparently Maya 2018 broke however this script works, and it throws many errors.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Maya Script Editor.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/581818iCB68B927E9976074/image-size/large?v=v2&amp;amp;px=999" role="button" title="Maya Script Editor.png" alt="Maya Script Editor.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Even when calling the main procedure, it says it cannot find it.&lt;/P&gt;
&lt;P&gt;My apologies if a solution has been found to this issue, but I have not seen it yet and any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 16 Dec 2018 08:37:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-16T08:37:13Z</dc:date>
    <item>
      <title>Maya 2018 Export OBJ Sequence Throwing Errors</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2018-export-obj-sequence-throwing-errors/m-p/8470687#M8523</link>
      <description>&lt;P&gt;I was wanting to, on Windows 10 for Maya 2018, run the script from this website:&amp;nbsp;&lt;A href="https://www.highend3d.com/maya/script/obj-i-o-obj-sequences-import-export-for-maya" target="_blank"&gt;https://www.highend3d.com/maya/script/obj-i-o-obj-sequences-import-export-for-maya&lt;/A&gt; in the Maya Script Editor to allow OBJ Sequences to be exported (so I could import them into After Effects), however, apparently Maya 2018 broke however this script works, and it throws many errors.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Maya Script Editor.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/581818iCB68B927E9976074/image-size/large?v=v2&amp;amp;px=999" role="button" title="Maya Script Editor.png" alt="Maya Script Editor.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Even when calling the main procedure, it says it cannot find it.&lt;/P&gt;
&lt;P&gt;My apologies if a solution has been found to this issue, but I have not seen it yet and any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Dec 2018 08:37:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2018-export-obj-sequence-throwing-errors/m-p/8470687#M8523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-16T08:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2018 Export OBJ Sequence Throwing Errors</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2018-export-obj-sequence-throwing-errors/m-p/8472732#M8524</link>
      <description>&lt;P&gt;So I ran the script without any issues. Granted, I'm on a Mac so that my be part of the problem. I just ran into an issue where Mel had trouble dealing with dialog boxes, updating to 2018.5 fixed the issue. That doesn't&amp;nbsp;really seem like its part of your issue, but couldn't hurt to check. If you're in a bind you can use my script. It rudimentary, and you'll have to manually change the start and end frames at the top of the script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;string $path[] = `fileDialog2 -fm 2 -dialogStyle 1`;&lt;BR /&gt;string $sel[] = `ls -sl`;&lt;/P&gt;
&lt;P&gt;if(`size($path)` &amp;gt; 0 &amp;amp;&amp;amp; `size($sel)` &amp;gt; 0){&lt;/P&gt;
&lt;P&gt;int $start = 1;&lt;BR /&gt; int $end = 100;&lt;BR /&gt; int $by = 1;&lt;BR /&gt; int $pad = 4;&lt;/P&gt;
&lt;P&gt;//Progress Window&lt;BR /&gt; progressWindow&lt;BR /&gt; -title "Export OBJ Sequence"&lt;BR /&gt; -progress $start&lt;BR /&gt; -min $start&lt;BR /&gt; -max $end&lt;BR /&gt; -status "Exporting: "&lt;BR /&gt; -isInterruptable true;&lt;/P&gt;
&lt;P&gt;//Loop &lt;BR /&gt; while($start &amp;lt;= $end){&lt;BR /&gt; refresh;&lt;BR /&gt; // Check if the dialog has been cancelled&lt;BR /&gt; if ( `progressWindow -query -isCancelled` ) break;&lt;BR /&gt; // Check if end condition has been reached&lt;BR /&gt; if ( `progressWindow -query -progress` &amp;gt;= 100 ) break;&lt;BR /&gt; &lt;BR /&gt; //Set Time and Select&lt;BR /&gt; currentTime $start;&lt;BR /&gt; select -r $sel[0];&lt;BR /&gt; &lt;BR /&gt; //Frame Padding&lt;BR /&gt; string $paddedScript = `python ("'%s0%dd' % ('%'," + $pad + ") % "+$start)`; &lt;BR /&gt; string $exportBasename = ($path[0]+"/"+$sel[0]+"_"+$paddedScript);&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; //Export OBJ &lt;BR /&gt; file -force -options "groups=1;ptgroups=1;materials=1;smoothing=1;normals=1" -typ "OBJexport" -pr -es ($exportBasename+".obj");&lt;/P&gt;
&lt;P&gt;//Edit Progress Window&lt;BR /&gt; progressWindow -edit&lt;BR /&gt; -progress $start&lt;BR /&gt; -status ("Exporting: "+$sel[0]+"_"+$paddedScript+".obj"); &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; //increment&lt;BR /&gt; $start = $start + $by;&lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt;progressWindow -endProgress;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 15:35:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2018-export-obj-sequence-throwing-errors/m-p/8472732#M8524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-17T15:35:33Z</dc:date>
    </item>
  </channel>
</rss>

