<?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: Invalid syntax in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10868674#M3115</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error is on line 5. The script editor in your version has a bug and line numbers should start from 1, not 0.&lt;BR /&gt;&lt;BR /&gt;In this case you are referring to &lt;STRONG&gt;str(o)&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;str(i)&lt;/STRONG&gt;&amp;nbsp;but the variables &lt;STRONG&gt;o&lt;/STRONG&gt; and &lt;STRONG&gt;i&lt;/STRONG&gt; are not defined in your script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jan 2022 11:24:14 GMT</pubDate>
    <dc:creator>brentmc</dc:creator>
    <dc:date>2022-01-10T11:24:14Z</dc:date>
    <item>
      <title>Invalid syntax</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10860850#M3112</link>
      <description>&lt;P&gt;import maya.cmds as mc&lt;/P&gt;&lt;P&gt;for i in range (1,73):&lt;BR /&gt;mc.sphere()&lt;BR /&gt;mc.sphere(0, 0, -10, relative = True)&lt;BR /&gt;mc.move(0, 0, 10, (('nurbsSphere' + str(i) + '.scalePivot'), ('nurbsSphere' + str(i) '.rotatePivot'), relative = True))&lt;BR /&gt;mc.rotate(0, 5 * i, 0, r =True, os =True)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't get why does Maya tell that I have an invalid syntax. I checked everywhere where the order is.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 00:24:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10860850#M3112</guid>
      <dc:creator>rpark7J3CJN</dc:creator>
      <dc:date>2022-01-06T00:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid syntax</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10861510#M3113</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are missing a plus sign (+) in front of '.rotatePivot'.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 09:25:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10861510#M3113</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2022-01-06T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid syntax</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10866423#M3114</link>
      <description>&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="am.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1008959i3C2EEEEE8C83E4AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="am.png" alt="am.png" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;SPAN class=""&gt;Updating Media&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;# File "&amp;lt;maya console&amp;gt;", line 6, in &amp;lt;module&amp;gt;&lt;BR /&gt;# NameError: name 'o' is not defined #&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just ran into another issue, I still don't get why Maya does not recognize operating system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jan 2022 19:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10866423#M3114</guid>
      <dc:creator>rpark7J3CJN</dc:creator>
      <dc:date>2022-01-08T19:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid syntax</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10868674#M3115</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error is on line 5. The script editor in your version has a bug and line numbers should start from 1, not 0.&lt;BR /&gt;&lt;BR /&gt;In this case you are referring to &lt;STRONG&gt;str(o)&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;str(i)&lt;/STRONG&gt;&amp;nbsp;but the variables &lt;STRONG&gt;o&lt;/STRONG&gt; and &lt;STRONG&gt;i&lt;/STRONG&gt; are not defined in your script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 11:24:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/invalid-syntax/m-p/10868674#M3115</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2022-01-10T11:24:14Z</dc:date>
    </item>
  </channel>
</rss>

