<?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: Help! nofunction definition:RTD in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737855#M109376</link>
    <description>&lt;P&gt;As the error reads, you are missing the rtd function. Add this to your lisp&lt;/P&gt;
&lt;PRE&gt;(defun rtd (x)
(* 180.0 (/ x pi)))&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Jan 2018 21:49:17 GMT</pubDate>
    <dc:creator>Ranjit_Singh</dc:creator>
    <dc:date>2018-01-30T21:49:17Z</dc:date>
    <item>
      <title>Help! nofunction definition:RTD</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737834#M109375</link>
      <description>&lt;P&gt;I have always used this LISP. However, after installing 2018 map3D it will not work. Can anyone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(defun C:LBRK ()&lt;BR /&gt;&amp;nbsp; (setq OLDCE (getvar "cmdecho"))&lt;BR /&gt;&amp;nbsp; (setq OLDERR *ERROR*)&lt;BR /&gt;&amp;nbsp; (setq os (getvar "osmode"))&lt;BR /&gt;&amp;nbsp; (setq scl (getvar "userr2"))&lt;BR /&gt;&amp;nbsp; (setvar "cmdecho" 1)&lt;BR /&gt;&amp;nbsp; (defun *ERROR* (errmes)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (princ (strcat "\nExecution of LBRK halted by the following error: " ERRMES))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setvar "cmdecho" OLDCE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq *ERROR* OLDERR)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (prin1)&lt;BR /&gt;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp; ;(setq *ERROR* nil)&lt;BR /&gt;&amp;nbsp; ;to turn error handling off, erase the semicolon in the line above.&lt;BR /&gt;&amp;nbsp; (setq clay (getvar "CLAYER"))&lt;BR /&gt;&amp;nbsp; (setvar "CMDECHO" 0)&lt;BR /&gt;&amp;nbsp; (command "osnap" "nea")&lt;BR /&gt;&amp;nbsp; (setq INSPT (getpoint&amp;nbsp; "\npick insertion point for line break..."))&lt;BR /&gt;&amp;nbsp; (setq line (ssget inspt))&lt;BR /&gt;&amp;nbsp; (setq l1 (entget (ssname line 0)))&lt;BR /&gt;&amp;nbsp; (setq lay (cdr (assoc 8 l1)))&lt;BR /&gt;&amp;nbsp; (command "LAYER" "S" lay "")&lt;BR /&gt;&amp;nbsp; (setq ANG1 (getangle inspt "\npick rotation angle..."))&lt;BR /&gt;&amp;nbsp; (setq ANG2 (* (+ (rtd ang1) 360) -1))&amp;nbsp; ;*if survey units are used&lt;BR /&gt;; (setq ANG2 (rtd ang1))&amp;nbsp; ;*if ACAD units are used&lt;BR /&gt;&amp;nbsp; (command "circle" inspt (* 1.875 scl))&lt;BR /&gt;&amp;nbsp; (setq circl (entlast))&lt;BR /&gt;&amp;nbsp; (command "trim" circl "" inspt "" "erase" circl "" "insert" "linebrk" inspt scl scl ang2)&lt;BR /&gt;&amp;nbsp; (command "osnap" os)&lt;BR /&gt;&amp;nbsp; (command "LAYER" "S" clay "")&lt;BR /&gt;&amp;nbsp; (setvar "CMDECHO" OLDCE)&lt;BR /&gt;&amp;nbsp; (setq *ERROR* OLDERR)&lt;BR /&gt;&amp;nbsp; (prin1)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 21:42:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737834#M109375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T21:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help! nofunction definition:RTD</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737855#M109376</link>
      <description>&lt;P&gt;As the error reads, you are missing the rtd function. Add this to your lisp&lt;/P&gt;
&lt;PRE&gt;(defun rtd (x)
(* 180.0 (/ x pi)))&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jan 2018 21:49:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737855#M109376</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2018-01-30T21:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help! nofunction definition:RTD</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737943#M109377</link>
      <description>&lt;P&gt;Thank you! Although it rotates 90 degrees to the line, not parallel with the line.....&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 22:31:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737943#M109377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T22:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help! nofunction definition:RTD</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737964#M109378</link>
      <description>&lt;P&gt;You should try to look for your original rtd function. I am just guessing at what it might contain.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 22:41:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-nofunction-definition-rtd/m-p/7737964#M109378</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2018-01-30T22:41:58Z</dc:date>
    </item>
  </channel>
</rss>

