<?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: in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910158#M163595</link>
    <description>&amp;gt; The easy way to do this in A2K is to use the ads_defun() option instead&lt;BR /&gt;
&amp;gt; of the addCommand() option in the ARX wizard &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
   Allrighty, ads_defun() was being screwy on me earlier, but after giving&lt;BR /&gt;
it another go, everything's going right.  Excellent.  That certainly works a&lt;BR /&gt;
lot nicer than what I was doing by hand.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
--Todd Parsons, CCI</description>
    <pubDate>Tue, 19 Oct 1999 21:29:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>1999-10-19T21:29:29Z</dc:date>
    <item>
      <title>ObjectARX-&gt;AutoLISP function question...</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910150#M163587</link>
      <description>Hello again.  Thanks to everyone who helped me out last time...  I have&lt;BR /&gt;
another question, though.&lt;BR /&gt;
   I've been building an ObjectARX app with MFC support for A2K (Map).  My&lt;BR /&gt;
commands have been initialized in the InitApplication() section of the file&lt;BR /&gt;
with the entry point.  I'm using the AddCommand function the ARX wizard sets&lt;BR /&gt;
up.  For example:&lt;BR /&gt;
AddCommand("CCIIMPORT", "D2IMPT", "D2IMPT", ACRX_CMD_TRANSPARENT,&lt;BR /&gt;
cciimportd2impt);&lt;BR /&gt;
&lt;BR /&gt;
   That works fine.  After doing an appload from command line and typing&lt;BR /&gt;
"d2impt", everything pops up.  This function should be called from an&lt;BR /&gt;
Autolisp routine, though, but it doesn't work as is from within the&lt;BR /&gt;
Autolisp...  So I tried changing the flags:&lt;BR /&gt;
AddCommand("CCIIMPORT", "D2IMPT", "D2IMPT",&lt;BR /&gt;
ACRX_CMD_TRANSPARENT|ACRX_CMD_DEFUN, cciimportd2impt);&lt;BR /&gt;
&lt;BR /&gt;
   Well, when I do that, neither the Autolisp routine or the command line&lt;BR /&gt;
recognize it any more.  Any suggestions?  I need to use acedRetStr to send a&lt;BR /&gt;
command string back to the Autolisp routine.  Any help would result in my&lt;BR /&gt;
undying gratitude!  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
--Todd Parsons, CCI</description>
      <pubDate>Tue, 19 Oct 1999 17:56:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910150#M163587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T17:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: ObjectARX-&gt;AutoLISP function question...</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910151#M163588</link>
      <description>You don't say how you're calling the ARX command from LISP.&lt;BR /&gt;
&lt;BR /&gt;
Are you using (command)? &lt;BR /&gt;
&lt;BR /&gt;
Todd Parsons wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;    Hello again.  Thanks to everyone who helped me out last time...  I have&lt;BR /&gt;
&amp;gt; another question, though.&lt;BR /&gt;
&amp;gt;    I've been building an ObjectARX app with MFC support for A2K (Map).  My&lt;BR /&gt;
&amp;gt; commands have been initialized in the InitApplication() section of the file&lt;BR /&gt;
&amp;gt; with the entry point.  I'm using the AddCommand function the ARX wizard sets&lt;BR /&gt;
&amp;gt; up.  For example:&lt;BR /&gt;
&amp;gt; AddCommand("CCIIMPORT", "D2IMPT", "D2IMPT", ACRX_CMD_TRANSPARENT,&lt;BR /&gt;
&amp;gt; cciimportd2impt);&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;    That works fine.  After doing an appload from command line and typing&lt;BR /&gt;
&amp;gt; "d2impt", everything pops up.  This function should be called from an&lt;BR /&gt;
&amp;gt; Autolisp routine, though, but it doesn't work as is from within the&lt;BR /&gt;
&amp;gt; Autolisp...  So I tried changing the flags:&lt;BR /&gt;
&amp;gt; AddCommand("CCIIMPORT", "D2IMPT", "D2IMPT",&lt;BR /&gt;
&amp;gt; ACRX_CMD_TRANSPARENT|ACRX_CMD_DEFUN, cciimportd2impt);&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;    Well, when I do that, neither the Autolisp routine or the command line&lt;BR /&gt;
&amp;gt; recognize it any more.  Any suggestions?  I need to use acedRetStr to send a&lt;BR /&gt;
&amp;gt; command string back to the Autolisp routine.  Any help would result in my&lt;BR /&gt;
&amp;gt; undying gratitude!  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; --Todd Parsons, CCI&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
/*********************************************************/&lt;BR /&gt;
/*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
/* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
/* ----------------------------------------------------- */&lt;BR /&gt;
/*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
/*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
/*********************************************************/</description>
      <pubDate>Tue, 19 Oct 1999 18:13:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910151#M163588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T18:13:48Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910152#M163589</link>
      <description>&amp;gt; You don't say how you're calling the ARX command from LISP.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Are you using (command)?&lt;BR /&gt;
&lt;BR /&gt;
   Yes...  For example (just to test it):&lt;BR /&gt;
&lt;BR /&gt;
(defun C:D2 ()&lt;BR /&gt;
  (arxload "m:/!code/import2/release/cciimport2")&lt;BR /&gt;
  (while (not (= status 'DONE))&lt;BR /&gt;
    (d2impt)&lt;BR /&gt;
    ))&lt;BR /&gt;
&lt;BR /&gt;
   (d2impt has acedRetStr("setq status 'DONE") at the end)...  Attempting to&lt;BR /&gt;
call d2 from the command line succesfully loads cciimport2.arx, but returns:&lt;BR /&gt;
; error: no function definition: D2IMPT&lt;BR /&gt;
   Any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
--Todd Parsons, CCI</description>
      <pubDate>Tue, 19 Oct 1999 18:24:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910152#M163589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T18:24:34Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910153#M163590</link>
      <description>No, you're not using (command).&lt;BR /&gt;
&lt;BR /&gt;
This uses (command): &lt;BR /&gt;
&lt;BR /&gt;
  (command "D2IMPT" ...)&lt;BR /&gt;
&lt;BR /&gt;
To call it as a function (as in (d2impt &lt;ARGS&gt;...)) you must&lt;BR /&gt;
define the function with acedDefun() and acedRegFunc(), and&lt;BR /&gt;
I believe you must do that in the kLoadDwg message, as LISP&lt;BR /&gt;
functions are document-specific.&lt;BR /&gt;
&lt;BR /&gt;
Todd Parsons wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &amp;gt; You don't say how you're calling the ARX command from LISP.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Are you using (command)?&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;    Yes...  For example (just to test it):&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; (defun C:D2 ()&lt;BR /&gt;
&amp;gt;   (arxload "m:/!code/import2/release/cciimport2")&lt;BR /&gt;
&amp;gt;   (while (not (= status 'DONE))&lt;BR /&gt;
&amp;gt;     (d2impt)&lt;BR /&gt;
&amp;gt;     ))&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;    (d2impt has acedRetStr("setq status 'DONE") at the end)...  Attempting to&lt;BR /&gt;
&amp;gt; call d2 from the command line succesfully loads cciimport2.arx, but returns:&lt;BR /&gt;
&amp;gt; ; error: no function definition: D2IMPT&lt;BR /&gt;
&amp;gt;    Any suggestions?&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; --Todd Parsons, CCI&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
/*********************************************************/&lt;BR /&gt;
/*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
/* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
/* ----------------------------------------------------- */&lt;BR /&gt;
/*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
/*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
/*********************************************************/&lt;/ARGS&gt;</description>
      <pubDate>Tue, 19 Oct 1999 18:31:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910153#M163590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T18:31:33Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910154#M163591</link>
      <description>&amp;gt; No, you're not using (command).&lt;BR /&gt;
&amp;gt; This uses (command):&lt;BR /&gt;
&amp;gt;   (command "D2IMPT" ...)&lt;BR /&gt;
&lt;BR /&gt;
   Fair enough...  As I've said before, I'm new to this environment.  Trying&lt;BR /&gt;
that, I can certainly call the command from within Autolisp.  I was hoping&lt;BR /&gt;
to be able to use the ACRX_CMD_DEFUN flag within&lt;BR /&gt;
acedRegCmds-&amp;gt;addCommand to set it as a function...  But, adding that in&lt;BR /&gt;
makes it inoperable everywhere.&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; To call it as a function (as in (d2impt &lt;ARGS&gt;...)) you must&lt;BR /&gt;
&amp;gt; define the function with acedDefun() and acedRegFunc(), and&lt;BR /&gt;
&amp;gt; I believe you must do that in the kLoadDwg message, as LISP&lt;BR /&gt;
&amp;gt; functions are document-specific.&lt;BR /&gt;
&lt;BR /&gt;
   Ok, I'll look more closely at acedDefun, etc...  The second argument for&lt;BR /&gt;
that is an int...  I've seen that as an index into a function table...  Is&lt;BR /&gt;
that still the way it works?  Thanks again for the help.&lt;BR /&gt;
&lt;BR /&gt;
--Todd Parsons, CCI&lt;/ARGS&gt;</description>
      <pubDate>Tue, 19 Oct 1999 18:56:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910154#M163591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T18:56:51Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910155#M163592</link>
      <description>Well - According to the docs, ACRX_CMD_DEFUN should make the&lt;BR /&gt;
function available, but it obviously isn't working. &lt;BR /&gt;
&lt;BR /&gt;
You don't have to look up function codes if you use acedRegFunc()&lt;BR /&gt;
to define the function. In that case, the function handler is&lt;BR /&gt;
called directly, rather than through the kInvokeSubr message in&lt;BR /&gt;
acrxEntryPoint().&lt;BR /&gt;
&lt;BR /&gt;
Todd Parsons wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &amp;gt; No, you're not using (command).&lt;BR /&gt;
&amp;gt; &amp;gt; This uses (command):&lt;BR /&gt;
&amp;gt; &amp;gt;   (command "D2IMPT" ...)&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;    Fair enough...  As I've said before, I'm new to this environment.  Trying&lt;BR /&gt;
&amp;gt; that, I can certainly call the command from within Autolisp.  I was hoping&lt;BR /&gt;
&amp;gt; to be able to use the ACRX_CMD_DEFUN flag within&lt;BR /&gt;
&amp;gt; acedRegCmds-&amp;gt;addCommand to set it as a function...  But, adding that in&lt;BR /&gt;
&amp;gt; makes it inoperable everywhere.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &amp;gt; To call it as a function (as in (d2impt &lt;ARGS&gt;...)) you must&lt;BR /&gt;
&amp;gt; &amp;gt; define the function with acedDefun() and acedRegFunc(), and&lt;BR /&gt;
&amp;gt; &amp;gt; I believe you must do that in the kLoadDwg message, as LISP&lt;BR /&gt;
&amp;gt; &amp;gt; functions are document-specific.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;    Ok, I'll look more closely at acedDefun, etc...  The second argument for&lt;BR /&gt;
&amp;gt; that is an int...  I've seen that as an index into a function table...  Is&lt;BR /&gt;
&amp;gt; that still the way it works?  Thanks again for the help.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; --Todd Parsons, CCI&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
/*********************************************************/&lt;BR /&gt;
/*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
/* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
/* ----------------------------------------------------- */&lt;BR /&gt;
/*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
/*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
/*********************************************************/&lt;/ARGS&gt;</description>
      <pubDate>Tue, 19 Oct 1999 19:04:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910155#M163592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T19:04:39Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910156#M163593</link>
      <description>The easy way to do this in A2K is to use the ads_defun() option instead&lt;BR /&gt;
of the addCommand() option in the ARX wizard &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Tony Tanzillo wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; To call it as a function (as in (d2impt &lt;ARGS&gt;...)) you must&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; define the function with acedDefun() and acedRegFunc(), and&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I believe you must do that in the kLoadDwg message, as LISP&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; functions are document-specific.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;    Ok, I'll look more closely at acedDefun, etc...  The second argument for&lt;BR /&gt;
&amp;gt; &amp;gt; that is an int...  I've seen that as an index into a function table...  Is&lt;BR /&gt;
&amp;gt; &amp;gt; that still the way it works?  Thanks again for the help.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; --Todd Parsons, CCI&lt;BR /&gt;
&lt;BR /&gt;
    |                                              &lt;BR /&gt;
----+----------------------------------------------&lt;BR /&gt;
    |  Byron Blattel                               &lt;BR /&gt;
    |  CADwerx---Applications for AutoCAD          &lt;BR /&gt;
    |                                              &lt;BR /&gt;
    |  e-mail: cadwerx@texas.net                   &lt;BR /&gt;
    |  web site: http://lonestar.texas.net/~cadwerx&lt;BR /&gt;
    |&lt;/ARGS&gt;</description>
      <pubDate>Tue, 19 Oct 1999 20:27:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910156#M163593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T20:27:21Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910157#M163594</link>
      <description>&amp;gt; The easy way to do this in A2K is to use the ads_defun() option instead&lt;BR /&gt;
&amp;gt; of the addCommand() option in the ARX wizard &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
   I'm noticing that.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  Here's what I put in:&lt;BR /&gt;
void InitApplication()&lt;BR /&gt;
{&lt;BR /&gt;
...&lt;BR /&gt;
 acedDefun("d2impt", 0);&lt;BR /&gt;
 acedRegFunc(&amp;amp;cciimportd2impt, 0);&lt;BR /&gt;
...}&lt;BR /&gt;
&lt;BR /&gt;
   I just put those in right in InitApplication, and it now works as a&lt;BR /&gt;
function (d2impt &lt;ARGS&gt;)...  However, when I exit out of d2impt, Autolisp&lt;BR /&gt;
(cmdline) returns "ADS request error"...  And I'm calling&lt;BR /&gt;
acedRetStr(returnval), where CString returnval="(setq status 'DONE)";&lt;BR /&gt;
*shrug*  I'll keep plugging away at this...  Just need to get one case where&lt;BR /&gt;
it works and I'm set.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  Thanks again.&lt;BR /&gt;
&lt;BR /&gt;
--Todd Parsons, CCI&lt;/ARGS&gt;</description>
      <pubDate>Tue, 19 Oct 1999 21:15:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910157#M163594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T21:15:31Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910158#M163595</link>
      <description>&amp;gt; The easy way to do this in A2K is to use the ads_defun() option instead&lt;BR /&gt;
&amp;gt; of the addCommand() option in the ARX wizard &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
   Allrighty, ads_defun() was being screwy on me earlier, but after giving&lt;BR /&gt;
it another go, everything's going right.  Excellent.  That certainly works a&lt;BR /&gt;
lot nicer than what I was doing by hand.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
--Todd Parsons, CCI</description>
      <pubDate>Tue, 19 Oct 1999 21:29:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910158#M163595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-19T21:29:29Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910159#M163596</link>
      <description>Todd Parsons wrote:&lt;BR /&gt;
&amp;gt;    I just put those in right in InitApplication, and it now works as a&lt;BR /&gt;
&amp;gt; function (d2impt &lt;ARGS&gt;)...  However, when I exit out of d2impt, Autolisp&lt;BR /&gt;
&amp;gt; (cmdline) returns "ADS request error"...  And I'm calling&lt;BR /&gt;
&amp;gt; acedRetStr(returnval), where CString returnval="(setq status 'DONE)";&lt;BR /&gt;
&lt;BR /&gt;
you need to return RSRSLT not RTNORM -which is returned by acedRetStr()-&lt;BR /&gt;
once you regfunc'ed it.&lt;BR /&gt;
otherwise you'll get this error.&lt;/ARGS&gt;</description>
      <pubDate>Thu, 21 Oct 1999 14:48:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectarx-gt-autolisp-function-question/m-p/910159#M163596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-21T14:48:18Z</dc:date>
    </item>
  </channel>
</rss>

