<?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/layout-reactor/m-p/836809#M160373</link>
    <description>Good to know, Frank.  I haven't run into this before.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the heads up.&lt;BR /&gt;
&lt;BR /&gt;
Mike Weaver&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FOQUENDO&gt; wrote in message&lt;BR /&gt;
news:87mtua$i3e12@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; There are several reactors that behave the way Perry describes. Try&lt;BR /&gt;
setting&lt;BR /&gt;
&amp;gt; up a documentBecameCurrent reactor sometime. This behavior even spills&lt;BR /&gt;
over&lt;BR /&gt;
&amp;gt; into the ActiveX side of things. Place a msgbox in the Activate event of&lt;BR /&gt;
&amp;gt; ThisDrawing. You'll get prompted several times whenever you siwtch&lt;BR /&gt;
&amp;gt; documents.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;/FOQUENDO&gt;</description>
    <pubDate>Mon, 07 Feb 2000 19:15:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2000-02-07T19:15:59Z</dc:date>
    <item>
      <title>layout reactor</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836805#M160369</link>
      <description>I have this layout reactor (see below) which I want invoked each time I&lt;BR /&gt;
click a different layout tab (A2k obviously) but it fires multiple times&lt;BR /&gt;
when switching layouts sometimes twice, sometimes 6 or 7 times. Anyone have&lt;BR /&gt;
any ideas why???&lt;BR /&gt;
&lt;BR /&gt;
;;Load a reactor to inform us of layout changes so we can update the title&lt;BR /&gt;
block&lt;BR /&gt;
  ;;functions to point at the current title block&lt;BR /&gt;
  (if (not *layoutReactor*)&lt;BR /&gt;
    (setq *layoutReactor*&lt;BR /&gt;
      (vlr-miscellaneous-reactor&lt;BR /&gt;
        nil&lt;BR /&gt;
        '((:vlr-layoutswitched . find_different_title_block))&lt;BR /&gt;
      ) ;_ end of vlr-miscellaneous-reactor&lt;BR /&gt;
    )&lt;BR /&gt;
  )&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
Perry</description>
      <pubDate>Mon, 07 Feb 2000 05:18:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836805#M160369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-07T05:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: layout reactor</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836806#M160370</link>
      <description>This is the case with many reactor notifications.&lt;BR /&gt;
&lt;BR /&gt;
My advice would be to use the CommandEnded reactor,&lt;BR /&gt;
and act when the name of the command is "-LAYOUT".&lt;BR /&gt;
&lt;BR /&gt;
perry wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I have this layout reactor (see below) which I want invoked each time I&lt;BR /&gt;
&amp;gt; click a different layout tab (A2k obviously) but it fires multiple times&lt;BR /&gt;
&amp;gt; when switching layouts sometimes twice, sometimes 6 or 7 times. Anyone have&lt;BR /&gt;
&amp;gt; any ideas why???&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; ;;Load a reactor to inform us of layout changes so we can update the title&lt;BR /&gt;
&amp;gt; block&lt;BR /&gt;
&amp;gt;   ;;functions to point at the current title block&lt;BR /&gt;
&amp;gt;   (if (not *layoutReactor*)&lt;BR /&gt;
&amp;gt;     (setq *layoutReactor*&lt;BR /&gt;
&amp;gt;       (vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt;         nil&lt;BR /&gt;
&amp;gt;         '((:vlr-layoutswitched . find_different_title_block))&lt;BR /&gt;
&amp;gt;       ) ;_ end of vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt;     )&lt;BR /&gt;
&amp;gt;   )&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks in advance&lt;BR /&gt;
&amp;gt; Perry&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>Mon, 07 Feb 2000 06:49:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836806#M160370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-07T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: layout reactor</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836807#M160371</link>
      <description>The only time I have had reactors fire multiple times was when the reactor&lt;BR /&gt;
was created multiple times (when I kept loading the file while debugging).&lt;BR /&gt;
From the code you posted, I'm not sure why you would be experiencing this,&lt;BR /&gt;
unless it somehow ends up in a different namespace each time so your global&lt;BR /&gt;
*layoutReactor* is not seen by subsequent loads.&lt;BR /&gt;
&lt;BR /&gt;
...&lt;BR /&gt;
&lt;BR /&gt;
Is this set up to run in a separate namespace?  If so, then I think you will&lt;BR /&gt;
have to export your *layoutReactor*.&lt;BR /&gt;
&lt;BR /&gt;
Mike Weaver&lt;BR /&gt;
&lt;BR /&gt;
"perry" &lt;PERRY&gt; wrote in message&lt;BR /&gt;
news:87lkjm$ef810@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; I have this layout reactor (see below) which I want invoked each time I&lt;BR /&gt;
&amp;gt; click a different layout tab (A2k obviously) but it fires multiple times&lt;BR /&gt;
&amp;gt; when switching layouts sometimes twice, sometimes 6 or 7 times. Anyone&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; any ideas why???&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; ;;Load a reactor to inform us of layout changes so we can update the title&lt;BR /&gt;
&amp;gt; block&lt;BR /&gt;
&amp;gt;   ;;functions to point at the current title block&lt;BR /&gt;
&amp;gt;   (if (not *layoutReactor*)&lt;BR /&gt;
&amp;gt;     (setq *layoutReactor*&lt;BR /&gt;
&amp;gt;       (vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt;         nil&lt;BR /&gt;
&amp;gt;         '((:vlr-layoutswitched . find_different_title_block))&lt;BR /&gt;
&amp;gt;       ) ;_ end of vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt;     )&lt;BR /&gt;
&amp;gt;   )&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks in advance&lt;BR /&gt;
&amp;gt; Perry&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/PERRY&gt;</description>
      <pubDate>Mon, 07 Feb 2000 16:58:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836807#M160371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-07T16:58:50Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836808#M160372</link>
      <description>There are several reactors that behave the way Perry describes. Try setting&lt;BR /&gt;
up a documentBecameCurrent reactor sometime. This behavior even spills over&lt;BR /&gt;
into the ActiveX side of things. Place a msgbox in the Activate event of&lt;BR /&gt;
ThisDrawing. You'll get prompted several times whenever you siwtch&lt;BR /&gt;
documents.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Get free software and more at&lt;BR /&gt;
http://msnhomepages.talkcity.com/protectionfault/foquendo&lt;BR /&gt;
&lt;BR /&gt;
"Michael Weaver" &lt;MWEAVER&gt; wrote in message&lt;BR /&gt;
news:87mtl0$i3r17@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; The only time I have had reactors fire multiple times was when the reactor&lt;BR /&gt;
&amp;gt; was created multiple times (when I kept loading the file while debugging).&lt;BR /&gt;
&amp;gt; From the code you posted, I'm not sure why you would be experiencing this,&lt;BR /&gt;
&amp;gt; unless it somehow ends up in a different namespace each time so your&lt;BR /&gt;
global&lt;BR /&gt;
&amp;gt; *layoutReactor* is not seen by subsequent loads.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; ...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Is this set up to run in a separate namespace?  If so, then I think you&lt;BR /&gt;
will&lt;BR /&gt;
&amp;gt; have to export your *layoutReactor*.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Mike Weaver&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "perry" &lt;PERRY&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:87lkjm$ef810@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; I have this layout reactor (see below) which I want invoked each time I&lt;BR /&gt;
&amp;gt; &amp;gt; click a different layout tab (A2k obviously) but it fires multiple times&lt;BR /&gt;
&amp;gt; &amp;gt; when switching layouts sometimes twice, sometimes 6 or 7 times. Anyone&lt;BR /&gt;
&amp;gt; have&lt;BR /&gt;
&amp;gt; &amp;gt; any ideas why???&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; ;;Load a reactor to inform us of layout changes so we can update the&lt;BR /&gt;
title&lt;BR /&gt;
&amp;gt; &amp;gt; block&lt;BR /&gt;
&amp;gt; &amp;gt;   ;;functions to point at the current title block&lt;BR /&gt;
&amp;gt; &amp;gt;   (if (not *layoutReactor*)&lt;BR /&gt;
&amp;gt; &amp;gt;     (setq *layoutReactor*&lt;BR /&gt;
&amp;gt; &amp;gt;       (vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt; &amp;gt;         nil&lt;BR /&gt;
&amp;gt; &amp;gt;         '((:vlr-layoutswitched . find_different_title_block))&lt;BR /&gt;
&amp;gt; &amp;gt;       ) ;_ end of vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt; &amp;gt;     )&lt;BR /&gt;
&amp;gt; &amp;gt;   )&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks in advance&lt;BR /&gt;
&amp;gt; &amp;gt; Perry&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/PERRY&gt;&lt;/MWEAVER&gt;</description>
      <pubDate>Mon, 07 Feb 2000 17:03:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836808#M160372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-07T17:03:59Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836809#M160373</link>
      <description>Good to know, Frank.  I haven't run into this before.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the heads up.&lt;BR /&gt;
&lt;BR /&gt;
Mike Weaver&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FOQUENDO&gt; wrote in message&lt;BR /&gt;
news:87mtua$i3e12@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; There are several reactors that behave the way Perry describes. Try&lt;BR /&gt;
setting&lt;BR /&gt;
&amp;gt; up a documentBecameCurrent reactor sometime. This behavior even spills&lt;BR /&gt;
over&lt;BR /&gt;
&amp;gt; into the ActiveX side of things. Place a msgbox in the Activate event of&lt;BR /&gt;
&amp;gt; ThisDrawing. You'll get prompted several times whenever you siwtch&lt;BR /&gt;
&amp;gt; documents.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;/FOQUENDO&gt;</description>
      <pubDate>Mon, 07 Feb 2000 19:15:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836809#M160373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-07T19:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: layout reactor</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836810#M160374</link>
      <description>Thanks everyone!&lt;BR /&gt;
I think I will try Tony's approach first, I have used the "commandended"&lt;BR /&gt;
reactor before to cure other strange behavior but didnt realize I could use&lt;BR /&gt;
it for the layout command as well.</description>
      <pubDate>Tue, 08 Feb 2000 03:07:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836810#M160374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-08T03:07:07Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836811#M160375</link>
      <description>Sound pretty reasonable to me Tony I'll give it a shot.&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:389E6AFD.A70F965C@worldnet.att.net...&lt;BR /&gt;
&amp;gt; This is the case with many reactor notifications.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; My advice would be to use the CommandEnded reactor,&lt;BR /&gt;
&amp;gt; and act when the name of the command is "-LAYOUT".&lt;BR /&gt;
&amp;gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Tue, 08 Feb 2000 03:07:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836811#M160375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-08T03:07:52Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836812#M160376</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
You will get "n" notifications, if you load the same functions for "n"&lt;BR /&gt;
times.&lt;BR /&gt;
&lt;BR /&gt;
-Pakutharivu&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
---------------------------------------------&lt;BR /&gt;
CADD Centre - Corporate Office&lt;BR /&gt;
#5, Sir PS Sivasami Salai, Mylapore&lt;BR /&gt;
CHENNAI - 600004, India&lt;BR /&gt;
Ph: +91 44 4994678&lt;BR /&gt;
FAX: +91 44 4971098&lt;BR /&gt;
e-mail: ccche1@vsnl.com&lt;BR /&gt;
http://www.caddcentreindia.com&lt;BR /&gt;
&lt;BR /&gt;
Tony Tanzillo &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:389E6AFD.A70F965C@worldnet.att.net...&lt;BR /&gt;
&amp;gt; This is the case with many reactor notifications.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; My advice would be to use the CommandEnded reactor,&lt;BR /&gt;
&amp;gt; and act when the name of the command is "-LAYOUT".&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; perry wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I have this layout reactor (see below) which I want invoked each time I&lt;BR /&gt;
&amp;gt; &amp;gt; click a different layout tab (A2k obviously) but it fires multiple times&lt;BR /&gt;
&amp;gt; &amp;gt; when switching layouts sometimes twice, sometimes 6 or 7 times. Anyone&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; &amp;gt; any ideas why???&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; ;;Load a reactor to inform us of layout changes so we can update the&lt;BR /&gt;
title&lt;BR /&gt;
&amp;gt; &amp;gt; block&lt;BR /&gt;
&amp;gt; &amp;gt;   ;;functions to point at the current title block&lt;BR /&gt;
&amp;gt; &amp;gt;   (if (not *layoutReactor*)&lt;BR /&gt;
&amp;gt; &amp;gt;     (setq *layoutReactor*&lt;BR /&gt;
&amp;gt; &amp;gt;       (vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt; &amp;gt;         nil&lt;BR /&gt;
&amp;gt; &amp;gt;         '((:vlr-layoutswitched . find_different_title_block))&lt;BR /&gt;
&amp;gt; &amp;gt;       ) ;_ end of vlr-miscellaneous-reactor&lt;BR /&gt;
&amp;gt; &amp;gt;     )&lt;BR /&gt;
&amp;gt; &amp;gt;   )&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks in advance&lt;BR /&gt;
&amp;gt; &amp;gt; Perry&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;BR /&gt;
&amp;gt; /*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
&amp;gt; /* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
&amp;gt; /* ----------------------------------------------------- */&lt;BR /&gt;
&amp;gt; /*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
&amp;gt; /*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Tue, 08 Feb 2000 11:05:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836812#M160376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-02-08T11:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: layout reactor</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836813#M160377</link>
      <description>Is there a way to have a lisp routine run before autocad switches to a new&lt;BR /&gt;
layout when the tab is selected with the mouse?  I've fiddled with the&lt;BR /&gt;
vlr-miscellaneous-reactor a little and it seems to run the lisp after it has&lt;BR /&gt;
switched layouts.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Brian</description>
      <pubDate>Mon, 26 Nov 2001 07:22:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836813#M160377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-26T07:22:13Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836814#M160378</link>
      <description>Brian Hailey,&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Is there a way to have a lisp routine run before autocad switches to a new&lt;BR /&gt;
&amp;gt; layout when the tab is selected with the mouse?&lt;BR /&gt;
&lt;BR /&gt;
No, there is not such event available, may ask what are you trying to do,&lt;BR /&gt;
why has to be before switching?&lt;BR /&gt;
&lt;BR /&gt;
Luis</description>
      <pubDate>Mon, 26 Nov 2001 07:48:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836814#M160378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-26T07:48:22Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836815#M160379</link>
      <description>You could use the SYSVARWILLCHANGE reactor and watch for CTAB and CVPORT to&lt;BR /&gt;
change.&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Eric S.</description>
      <pubDate>Mon, 26 Nov 2001 10:02:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836815#M160379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-26T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836816#M160380</link>
      <description>I'm working on a lisp that will change the ltscale when the layout is&lt;BR /&gt;
changed.  If I change the ltscale after the switch to the new layout, the&lt;BR /&gt;
linework does not look correct and requires a regen.  If I can change the&lt;BR /&gt;
ltscale before the switch, the linework looks correct after the layout is&lt;BR /&gt;
regenerated.&lt;BR /&gt;
&lt;BR /&gt;
Brian&lt;BR /&gt;
&lt;BR /&gt;
"Luis Esquivel" &lt;LUIS&gt; wrote in message&lt;BR /&gt;
news:E51D78B493160B0A955E3A0352AD1C40@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Brian Hailey,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Is there a way to have a lisp routine run before autocad switches to a&lt;BR /&gt;
new&lt;BR /&gt;
&amp;gt; &amp;gt; layout when the tab is selected with the mouse?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; No, there is not such event available, may ask what are you trying to do,&lt;BR /&gt;
&amp;gt; why has to be before switching?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Luis&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/LUIS&gt;</description>
      <pubDate>Tue, 27 Nov 2001 14:58:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836816#M160380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-27T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836817#M160381</link>
      <description>Brian,&lt;BR /&gt;
&lt;BR /&gt;
I guess I had a similar need which I solved by redefining the Layout&lt;BR /&gt;
command, introducing a line of code that sets Ltscale to 1 and then issues&lt;BR /&gt;
the original "._layout" command. It's not a reactor, but it solves the&lt;BR /&gt;
problem. What I wanted to prevent was incorrect printing of non continuous&lt;BR /&gt;
lines, which do not print as expected from a layout when Lltscale is not 1. &lt;BR /&gt;
&lt;BR /&gt;
Alfredo Medina&lt;BR /&gt;
alfmedina@hotmail.com&lt;BR /&gt;
&lt;BR /&gt;
Brian Hailey wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I'm working on a lisp that will change the ltscale when the layout is&lt;BR /&gt;
&amp;gt; changed.  If I change the ltscale after the switch to the new layout, the&lt;BR /&gt;
&amp;gt; linework does not look correct and requires a regen.  If I can change the&lt;BR /&gt;
&amp;gt; ltscale before the switch, the linework looks correct after the layout is&lt;BR /&gt;
&amp;gt; regenerated.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Brian&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
(...)</description>
      <pubDate>Tue, 27 Nov 2001 18:40:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836817#M160381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-27T18:40:08Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836818#M160382</link>
      <description>That's exactly my goal as well. (along with learning lisp)&lt;BR /&gt;
&lt;BR /&gt;
Brian&lt;BR /&gt;
&lt;BR /&gt;
"Alfredo Medina" &lt;ALMEDINA&gt; wrote in message&lt;BR /&gt;
news:3C044E88.6153058E@hotmail.com...&lt;BR /&gt;
&amp;gt; Brian,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I guess I had a similar need which I solved by redefining the Layout&lt;BR /&gt;
&amp;gt; command, introducing a line of code that sets Ltscale to 1 and then issues&lt;BR /&gt;
&amp;gt; the original "._layout" command. It's not a reactor, but it solves the&lt;BR /&gt;
&amp;gt; problem. What I wanted to prevent was incorrect printing of non continuous&lt;BR /&gt;
&amp;gt; lines, which do not print as expected from a layout when Lltscale is not&lt;BR /&gt;
1.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Alfredo Medina&lt;BR /&gt;
&amp;gt; alfmedina@hotmail.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Brian Hailey wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I'm working on a lisp that will change the ltscale when the layout is&lt;BR /&gt;
&amp;gt; &amp;gt; changed.  If I change the ltscale after the switch to the new layout,&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; linework does not look correct and requires a regen.  If I can change&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; ltscale before the switch, the linework looks correct after the layout&lt;BR /&gt;
is&lt;BR /&gt;
&amp;gt; &amp;gt; regenerated.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Brian&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; (...)&lt;/ALMEDINA&gt;</description>
      <pubDate>Wed, 28 Nov 2001 10:25:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836818#M160382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-28T10:25:02Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836819#M160383</link>
      <description>You could use the SYSVARWILLCHANGE reactor and watch for CTAB CVPORT and/or&lt;BR /&gt;
TILEMODE to&lt;BR /&gt;
change. This will fire bebore the layout switches.&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Eric S.</description>
      <pubDate>Wed, 28 Nov 2001 12:51:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layout-reactor/m-p/836819#M160383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-28T12:51:26Z</dc:date>
    </item>
  </channel>
</rss>

