<?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: Resetting variables at end of lisp routine in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605248#M142117</link>
    <description>Thank you. I know how the command works, but over this particular, I never thought about. In half of the cases got it right in half of this bad. It's the copy-paste. Thanks again.</description>
    <pubDate>Thu, 23 Apr 2015 14:54:20 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2015-04-23T14:54:20Z</dc:date>
    <item>
      <title>Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5602978#M142108</link>
      <description>&lt;P&gt;I have created a command whereby I want to save the users OSNAP settings, current LAYER, create and set a layer, then run the Autocad REVCLOUD command.&amp;nbsp; At the end of the routine, I want Autocad to return the OSNAP and current LAYER back to pre-command settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to return the current layer back, but the osnap settings remain set to 0.&amp;nbsp; I'm a novice at lisp, obviously, and would like to know how you can run an autocad command within the middle of a lisp routine, and at the end of the command it still runs a few settings to be reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(The SLAY variable you see below is set in the command line in the CUIX menu file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when you hit ESCAPE halfway through the routine, is there a way it will return all the settings back to before the command was started?&amp;nbsp; Is it an error checking routine or something I need in it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody look at it below and provide some direction.&amp;nbsp; It would be muchly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(defun C:SREVCLOUD (/ CLAY OSM)&lt;BR /&gt;(setvar "cmdecho" 0)&lt;BR /&gt;(setq CLAY (getvar "clayer"))&lt;BR /&gt;(setq OSM (getvar "osmode"))&lt;BR /&gt;(setvar "snapmode" 0)&lt;BR /&gt;(setvar "osmode" 0)&lt;BR /&gt;(command "-Layer" "M" SLAY "C" "80" "" "" "")&lt;BR /&gt;(command "_revcloud" pause pause)&lt;BR /&gt;(setvar "clayer" CLAY)&lt;BR /&gt;(setvar "osmode" OSM)&lt;BR /&gt;)&lt;BR /&gt;(princ)&lt;BR /&gt;;_ end of defun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 13:29:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5602978#M142108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603059#M142109</link>
      <description>&lt;PRE&gt;;Add *error* function in that it automatically falls when is ERROR or ESC.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(defun C:REVCLOUD (/ *error* CLAY OSM CMD SNP)&lt;BR /&gt;&lt;BR /&gt; (defun *error* (errmsg) ;runs automatically if error or ECS&lt;BR /&gt; (if (not (wcmatch errmsg "Function cancelled, quit / exit abort, console break"))&lt;BR /&gt; (princ (strcat "\nError: " errmsg)))&lt;BR /&gt; &lt;BR /&gt; (setvar "clayer" CLAY)&lt;BR /&gt; (setvar "osmode" OSM)&lt;BR /&gt; (setvar "snapmode" SNP)&lt;BR /&gt; (setvar "cmdecho" CMD)&lt;BR /&gt; (princ)&lt;BR /&gt; )&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; (setq CMD (getvar "cmdecho"))&lt;BR /&gt; (setq CLAY (getvar "clayer"))&lt;BR /&gt; (setq OSM (getvar "osmode"))&lt;BR /&gt; (setq SNP (getvar "snapmode"))&lt;BR /&gt; &lt;BR /&gt; (setvar "cmdecho" 0)&lt;BR /&gt; (setvar "snapmode" 0)&lt;BR /&gt; (setvar "osmode" 0)&lt;BR /&gt; &lt;BR /&gt; (command "-Layer" "M" SLAY "C" "80" "" "" "")&lt;BR /&gt; (command "_revcloud")&lt;BR /&gt; (while (&amp;gt; (getvar 'CMDACTIVE) 0)&lt;BR /&gt; (command PAUSE))&lt;BR /&gt; &lt;BR /&gt; (setvar "clayer" CLAY)&lt;BR /&gt; (setvar "osmode" OSM)&lt;BR /&gt; (setvar "cmdecho" CMD)&lt;BR /&gt; (setvar "snapmode" SNP)&lt;BR /&gt;)&lt;BR /&gt;(princ)&lt;BR /&gt;;_ end of defun&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Apr 2015 14:21:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603059#M142109</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-04-22T14:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603110#M142110</link>
      <description>&lt;P&gt;BTW SLAY is some kind of global variable? You may use this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;(command "-Layer" "M" "ActualNameOfLayerThatBecomesTheCurrent" "C" "80" "" "" "")&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 14:29:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603110#M142110</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-04-22T14:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603131#M142111</link>
      <description>Thanks so much for the help! I'm going to try it this morning.&lt;BR /&gt;&lt;BR /&gt;And yes, SLAY is a global variable. I run the revcloud command from a few different spots in my menu that need to place the cloud on a different layer. So I assign the layer name in the CUIX file for whichever layer corresponds to that particular call of the revcloud function. I hope I'm doing it properly? It seems to work.&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 22 Apr 2015 14:38:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603131#M142111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603281#M142112</link>
      <description>It seems to work great, except for the LAYER part. It doesn't seem to recognize making the LAYER asked for in the CUIX file (G-REV in this instance) and placing the revcloud on that layer, then returning the current layer to it's pre-command state.&lt;BR /&gt;&lt;BR /&gt;It handles all the other variables perfectly, though. Retains the snaps nicely.&lt;BR /&gt;&lt;BR /&gt;In the CUIX file, the command line reads as such:&lt;BR /&gt;^C^C(setq SLAY "G-REV");REVCLOUD&lt;BR /&gt;&lt;BR /&gt;I've copied your input into my lisp file as such:&lt;BR /&gt;&lt;BR /&gt;(defun C:REVCLOUD (/ *error* CLAY OSM CMD SNP)&lt;BR /&gt;&lt;BR /&gt;(defun *error* (errmsg) ; runs automatically if error of ESC&lt;BR /&gt;(if (not (wcmatch errmsg "Function cancelled, quit / exit abort, console break"))&lt;BR /&gt;(princ (strcat "\nError: "errmsg)))&lt;BR /&gt;(setvar "clayer" CLAY)&lt;BR /&gt;(setvar "osmode" OSM)&lt;BR /&gt;(setvar "snapmode" SNP)&lt;BR /&gt;(setvar "cmdecho" CMD)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;(setq CMD (getvar "cmdecho"))&lt;BR /&gt;(setq CLAY (getvar "clayer"))&lt;BR /&gt;(setq OSM (getvar "osmode"))&lt;BR /&gt;(setq SNP (getvar "snapmode"))&lt;BR /&gt;&lt;BR /&gt;(setvar "cmdecho" 0)&lt;BR /&gt;(setvar "snapmode" 0)&lt;BR /&gt;(setvar "osmode" 0)&lt;BR /&gt;&lt;BR /&gt;(command "-Layer" "M" SLAY "C" "80" "" "" "")&lt;BR /&gt;(command "_revcloud")&lt;BR /&gt;(while (&amp;gt; (getvar 'CMDACTIVE) 0)&lt;BR /&gt;(command PAUSE))&lt;BR /&gt;&lt;BR /&gt;(setvar "clayer" CLAY)&lt;BR /&gt;(setvar "osmode" OSM)&lt;BR /&gt;(setvar "cmdecho" CMD)&lt;BR /&gt;(setvar "snapmode" SNP)&lt;BR /&gt;)&lt;BR /&gt;(princ)&lt;BR /&gt;;_ end of defun&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It doesn't give me any errors. It just doesn't recognize creating the layer part.&lt;BR /&gt;&lt;BR /&gt;Thx.&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 22 Apr 2015 15:42:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5603281#M142112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T15:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5604450#M142113</link>
      <description>&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spotting your post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems to be two things not running:&amp;nbsp;&amp;nbsp; You have defined a Command REVCLOUD when AutoCAD has a REVCLOUD.&amp;nbsp; Using "_REVCLOUD" in the function is fine, but outside LISP&amp;nbsp;it still calls the Original AutoCAD REVCLOUD.&amp;nbsp; ie bypasses your defun and hence no layer setting.&lt;/P&gt;&lt;P&gt;My policy is&amp;nbsp;not to&amp;nbsp;override any existing AutoCAD commands with new defun command unless you really want to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; The C:REVCLOUD&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change to:&lt;/P&gt;&lt;P&gt;(defun C:REVCLOUD&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt; (/ *error* CLAY OSM CMD SNP)&lt;/P&gt;&lt;P&gt;and eveything works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; (command "-Layer" "M" SLAY "C" "80" "" "" &lt;FONT color="#ff00ff"&gt;""&lt;/FONT&gt;)&amp;nbsp; has to many ""&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change to:&lt;/P&gt;&lt;P&gt;(command "-Layer" "M" SLAY "C" "80" "" "")&lt;/P&gt;&lt;P&gt;On error this would have reset thank's to *error* function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and change your menu to:&lt;/P&gt;&lt;P&gt;^C^C(setq SLAY "G-REV");REVCLOUD&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works fine for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Brent&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 05:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5604450#M142113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-23T05:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5604874#M142114</link>
      <description>Perfect! Thanks so much for the help!!&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Thu, 23 Apr 2015 12:27:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5604874#M142114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-23T12:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605169#M142115</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;My policy is&amp;nbsp;not to&amp;nbsp;override any existing AutoCAD commands with new defun command unless you really want to.&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change to:&lt;/P&gt;
&lt;P&gt;(defun C:REVCLOUD&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt; (/ *error* CLAY OSM CMD SNP)&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I &lt;EM&gt;was&lt;/EM&gt; going to suggest that you can UNDEFINE the native command, and define your own under the original name.&amp;nbsp; The benfit of doing so is that you don't always need to type in the full command name as you've defined it, because even menu icons&amp;nbsp;[as long as they call for the command name &lt;EM&gt;without a period prefix&lt;/EM&gt;] and command aliases will call up your &lt;EM&gt;new&lt;/EM&gt; definition of it.&amp;nbsp; This would be the approach:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "_.undefine" "REVCLOUD")&lt;/P&gt;
&lt;P&gt;(defun C:REVCLOUD (....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then, if for some reason you do want to use the native command, for example to draw one on a different Layer than the one automatically set by your new definition, or with Snap left on, you can use the period prefix to get at it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#ff0000"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/FONT&gt;REVCLOUD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually, that native command is invoked that way&amp;nbsp;somewhere within the new definition, which will typically just add&amp;nbsp;stuff around it [Layer setting, System Variable settings, resettings of those, etc.].&amp;nbsp; And I've used that approach for a few things, such as the PasteBlock command that forces you to give the resulting Block&amp;nbsp;a meaningful Block name in place of the usual "A$C2B2D5D64" kind of thing, recently brought up in &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/pasteblockwithname/m-p/5602890#U5602890" target="_self"&gt;this thread&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;BUT&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;I find that in this particular&amp;nbsp;case, &lt;EM&gt;that doesn't work!&lt;/EM&gt;&amp;nbsp; Once it's been undefined, trying &lt;STRONG&gt;&lt;FONT size="4" color="#ff0000"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;REVCLOUD or &lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;_.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;REVCLOUD returns an unknown-command error, just as trying the plain un-prefixed&amp;nbsp;REVCLOUD command does, whether manually at the Command: prompt or in a (command) function.&amp;nbsp; So apparently REVCLOUD is a horse of a different color from most native commands.&amp;nbsp; I thought maybe it was an Express Tool, but it's not, although I think it was originally, but was&amp;nbsp;made "native" a long time ago.&amp;nbsp;&amp;nbsp;I can only assume something of that distinction has "survived" its importing into the "native" program, some things seem to be more "native" than others, and apparently even though Undefine works on something, that &lt;EM&gt;doesn't&lt;/EM&gt; necessarily mean it's going to be usable in its native form with that period prefix.&amp;nbsp; So always test before incorporating something like this into a (defun) or macro or Script.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:22:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605169#M142115</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-04-23T14:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605221#M142116</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;PRE&gt;....
 (defun *error* (errmsg) ;runs automatically if error or ECS
 (if (not (wcmatch errmsg "Function cancelled, quit / exit abort, console break"))
 (princ (strcat "\nError: " errmsg)))
....&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One thing you should change:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There should be &lt;EM&gt;no spaces after the commas&lt;/EM&gt; in the (wcmatch) pattern string:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(if (not (wcmatch errmsg "Function cancelle&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;d,q&lt;/STRONG&gt;&lt;/FONT&gt;uit / exit abor&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;t,c&lt;/STRONG&gt;&lt;/FONT&gt;onsole break"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way (wcmatch) uses comma-delimited strings, it's looking for what's separated by commas to be complete and exact string possibilities.&amp;nbsp; The kind of error that's going to&amp;nbsp;send "quit / exit abort" as an error message is not going to include a space at the beginning of that, so as you have it, that message will not be bypassed as intended.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:43:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605221#M142116</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-04-23T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605248#M142117</link>
      <description>Thank you. I know how the command works, but over this particular, I never thought about. In half of the cases got it right in half of this bad. It's the copy-paste. Thanks again.</description>
      <pubDate>Thu, 23 Apr 2015 14:54:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605248#M142117</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-04-23T14:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting variables at end of lisp routine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605884#M142118</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My thoughts as well.&lt;/P&gt;&lt;P&gt;When I Undefined REVCLOUD&amp;nbsp;when testing this I also&amp;nbsp;found&amp;nbsp;the native REVCLOUD was invisible regardless of calling with &lt;STRONG&gt;&lt;FONT color="#ff0000" size="4"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;REVCLOUD or &lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;_.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;REVCLOUD.&amp;nbsp; Unusal this time.&lt;/P&gt;&lt;P&gt;Changing the defun name was my&amp;nbsp;fastest solution in this case.&lt;/P&gt;&lt;P&gt;All good.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 20:22:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/resetting-variables-at-end-of-lisp-routine/m-p/5605884#M142118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-23T20:22:34Z</dc:date>
    </item>
  </channel>
</rss>

