<?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>tema Re: Error: syntax error en AutoCAD for Mac Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574249#M38595</link>
    <description>OK, actually you double posted.&lt;BR /&gt;The answer related to that question is here:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574196#M38591" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574196#M38591&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 11 Jun 2020 13:08:59 GMT</pubDate>
    <dc:creator>maxim_k</dc:creator>
    <dc:date>2020-06-11T13:08:59Z</dc:date>
    <item>
      <title>Error: syntax error</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9573988#M38585</link>
      <description>&lt;P&gt;Hi Guys !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to run a AutoLISP app in AutoCAD. &amp;nbsp;I am on a Mac. It is possible to run but when i perform the "\nIndique o segundo ponto: "&lt;/P&gt;&lt;P&gt;it shows an error message saying: " error: syntax error".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;(defun c:escada()&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; (setq pontoS (getvar "osmode"))&lt;/DIV&gt;&lt;DIV&gt;(setq pontoS3d (getvar "3dosmode"))&lt;/DIV&gt;&lt;DIV&gt;(setvar "3dosmode" 0))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;;obter pontos&lt;/DIV&gt;&lt;DIV&gt;(setvar "osmode" 1)&lt;/DIV&gt;&lt;DIV&gt;(setq p1 (getpoint "\nIndique o ponto inserção: "))&lt;/DIV&gt;&lt;DIV&gt;(setq largura (getreal "\nIndique o ponto da largura: "))&lt;/DIV&gt;&lt;DIV&gt;(setq espelho (getreal "\nIndique o espelho: "))&lt;/DIV&gt;&lt;DIV&gt;(setq cobertor (getreal "\nIndique o cobertor: "))&lt;/DIV&gt;&lt;DIV&gt;(setq ndegraus (getint "\n Indique o numero de degraus: " ))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; (command "ucs" p1 "" )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; (setq p1 (trans p1 0 1))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;(command "box" p1 (list largura cobertor espelho))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;(command "ucs" "world")&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;;repeticao degraus&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;(repeat ndegraus &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; (command "copy" "last" "" p1 (list 0 cobertor espelho))&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please somebody help me !&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jun 2020 11:23:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9573988#M38585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-11T11:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error: syntax error</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574174#M38590</link>
      <description>Hi @Anonymous&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;It is possible to run but when i perform the "\nIndique o segundo ponto: " it shows an error message saying: " error: syntax error". &lt;BR /&gt;&lt;BR /&gt;Sorry, but there is no "\nIndique o segundo ponto: " in the code you provided and it seems to work correctly on my side.&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jun 2020 12:39:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574174#M38590</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2020-06-11T12:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error: syntax error</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574224#M38592</link>
      <description>&lt;P&gt;&amp;nbsp;I copied the wrong code&lt;/P&gt;&lt;P&gt;Sorry, this is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:escadas()&lt;BR /&gt;&lt;BR /&gt;(setq 2dpontos (getvar "osmode"))&lt;BR /&gt;(setq 3dpontos (getvar "3dosmode"))&lt;BR /&gt;(setvar "3dosmode" 0))&lt;/P&gt;&lt;P&gt;;indicar pontos&lt;BR /&gt;(setvar "osmode" 1)&lt;BR /&gt;(setq p1 (getpoint "\nIndique o ponto de inserção: "))&lt;BR /&gt;(setq p2 (getpoint "\nIndique o segundo ponto: "))&lt;BR /&gt;(setq largura (getdist "\nIndique a largura das escadas: "))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;;sobre a viga&lt;BR /&gt;(setvar "osmode" 1)&lt;BR /&gt;(setq p4 altura (getdist "\nIndique a altura da viga: "))&lt;BR /&gt;(setq p5 espessura (getdist "\nIndique a espessura da viga: "))&lt;BR /&gt;(setvar "osmode" 0)&lt;BR /&gt;&lt;BR /&gt;(setq medida1 (/ p4 (sin ( angle p1 p2))))&lt;BR /&gt;(setq medida2 (+ ((angle p1 p2) (angle p2 p1) 90) = 180))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;(command "pline")&lt;BR /&gt;&lt;BR /&gt;p2 (angel p1 p2) (distance ( * cos(angle p4) distance p5 p2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(setvar "3dosmode" 3dpontos)&lt;BR /&gt;(setvar "osmode" 2dpontos)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; converts radians to degrees&lt;BR /&gt;(defun RtD (r) (* 180.0 (/ r pi)))&lt;/P&gt;&lt;P&gt;; converts degrees to radians&lt;BR /&gt;(defun DtR (d) (* pi (/ d 180.0)))&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 12:55:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574224#M38592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-11T12:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error: syntax error</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574249#M38595</link>
      <description>OK, actually you double posted.&lt;BR /&gt;The answer related to that question is here:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574196#M38591" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574196#M38591&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jun 2020 13:08:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/error-syntax-error/m-p/9574249#M38595</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2020-06-11T13:08:59Z</dc:date>
    </item>
  </channel>
</rss>

