<?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: How to add multiple defun c: function in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-add-multiple-defun-c-function/m-p/9795248#M69360</link>
    <description>&lt;P&gt;@Anonymous&amp;nbsp; hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please close this thread but&amp;nbsp;if you still did not got the answer you expected,&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;elaborate more on the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moshe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Oct 2020 09:43:02 GMT</pubDate>
    <dc:creator>Moshe-A</dc:creator>
    <dc:date>2020-10-10T09:43:02Z</dc:date>
    <item>
      <title>How to add multiple defun c: function</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-add-multiple-defun-c-function/m-p/9793002#M69358</link>
      <description>&lt;P&gt;How to add single lisp command&amp;nbsp; multiple defun c: function command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example: (defun c:DIMX(dimension) if(not(defun c:DIMY)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward your kind support&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 05:07:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-add-multiple-defun-c-function/m-p/9793002#M69358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-09T05:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple defun c: function</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-add-multiple-defun-c-function/m-p/9793167#M69359</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp; hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that's very easy to do cause we are dealing with Lisp/Autolisp and every thing can be put in lists&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this example will define c:dimy as a command&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(setq c:dimy nil) ; just make sure c:dimy is not defined
(defun c:dimx ()
 (if (null c:dimy)
   (list (defun c:dimy ()
   (prompt "\nhello from C:DIMY\n")
  ))
  (prompt "\nhello from C:DIMX\n")
 )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this, will also invoke dimy&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(setq c:dimy nil) ; disbale c:dimy
(defun c:dimx ()
 (if (null c:dimy)
   (eval (list (defun c:dimy ()
   (prompt "\nhello from C:DIMY\n")
  )))
  (prompt "\nhello from C:DIMX\n")
 )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 07:25:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-add-multiple-defun-c-function/m-p/9793167#M69359</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2020-10-09T07:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple defun c: function</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-add-multiple-defun-c-function/m-p/9795248#M69360</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp; hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please close this thread but&amp;nbsp;if you still did not got the answer you expected,&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;elaborate more on the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moshe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 09:43:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-add-multiple-defun-c-function/m-p/9795248#M69360</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2020-10-10T09:43:02Z</dc:date>
    </item>
  </channel>
</rss>

