<?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: Swap between opened dwg files in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10984249#M48385</link>
    <description>&lt;P&gt;Ok&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;, thanks!&lt;/P&gt;&lt;P&gt;After one year learning and doing anything I could imagine with lisp it is hard to admit something that simple is impossible. I will have to go with one of the alternatives you have mentioned!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2022 15:09:42 GMT</pubDate>
    <dc:creator>franciscovHWABV</dc:creator>
    <dc:date>2022-03-04T15:09:42Z</dc:date>
    <item>
      <title>Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982009#M48376</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if there is any way from autolisp code of changing between two already opened dwg files. The thing is that I need to take some information and modify the first drawing and after that use the information from this to modify some other things on the second drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So as there is a way to change from one sheet to another inside the very same drawing I was asking if I can do the same thing between two different opened drawings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 17:02:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982009#M48376</guid>
      <dc:creator>franciscovHWABV</dc:creator>
      <dc:date>2022-03-03T17:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982017#M48377</link>
      <description>&lt;P&gt;Unfortunately, an AutoLisp routine cannot start in one drawing and continue in another.&amp;nbsp; You would probably need to use one routine to collect the information in the first drawing, and copy it to the Clipboard or the Blackboard space or to Environment Variables or something, and then use another routine to make use of that information in the second drawing.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 17:09:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982017#M48377</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-03-03T17:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982315#M48378</link>
      <description>&lt;P&gt;What kind of information you need to share between opened drawings?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 19:35:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982315#M48378</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2022-03-03T19:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982384#M48379</link>
      <description>&lt;P&gt;Look into Design Center (DC)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ronjonp_0-1646338131039.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1032208i4CCCE2529DCE4052/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ronjonp_0-1646338131039.png" alt="ronjonp_0-1646338131039.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 20:09:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10982384#M48379</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2022-03-03T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10983178#M48380</link>
      <description>&lt;P&gt;You can do some things with open dwgs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun openblk (blkname / adocs)
(setq acDocs (vla-get-documents (vlax-get-acad-object)))
(vla-open acDocs blkname)
(vla-activate (vla-item acdocs 1))
;(vla-put-activedocument (vlax-get-acad-object) (vla-item acdocs 1))
)&lt;/LI-CODE&gt;&lt;P&gt;we used something like this to "steal objects from 1 dwg to another like Kent using copy and paste.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 05:57:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10983178#M48380</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-03-04T05:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10983376#M48381</link>
      <description>&lt;P&gt;Hi all and thanks for your answers!&lt;/P&gt;&lt;P&gt;Basically I will have two opened files: the first will be for 3D objects where I will get some distances and store them into variables in order to draw some views and sections on the second file, which will be only for 2D elements.&lt;/P&gt;&lt;P&gt;I have been trying with the below code, playing with opening and closing files in order to move between active drawings, but it does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code is a simple example of getting coordinates of two selected points in first drawing in order to draw a line between them on the second one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;defun&lt;/SPAN&gt;&lt;SPAN&gt; c:3dprogram ()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;;SAVE 3D FILE PATH&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;setq&lt;/SPAN&gt;&lt;SPAN&gt; 3Dfilepath (&lt;/SPAN&gt;&lt;SPAN&gt;getvar&lt;/SPAN&gt; &lt;SPAN&gt;"dwgprefix"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;setq&lt;/SPAN&gt;&lt;SPAN&gt; 3Dfilename (&lt;/SPAN&gt;&lt;SPAN&gt;getvar&lt;/SPAN&gt; &lt;SPAN&gt;"dwgname"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;setq&lt;/SPAN&gt;&lt;SPAN&gt; 3Dfilepath (&lt;/SPAN&gt;&lt;SPAN&gt;strcat&lt;/SPAN&gt;&lt;SPAN&gt; 3Dfilepath 3Dfilename))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;setq&lt;/SPAN&gt;&lt;SPAN&gt; leftpoint (&lt;/SPAN&gt;&lt;SPAN&gt;getpoint&lt;/SPAN&gt; &lt;SPAN&gt;"\nLeft point : "&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;setq&lt;/SPAN&gt;&lt;SPAN&gt; rightpoint (&lt;/SPAN&gt;&lt;SPAN&gt;getpoint&lt;/SPAN&gt; &lt;SPAN&gt;"\nRight point : "&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;;OPEN 2D FILE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;setq&lt;/SPAN&gt;&lt;SPAN&gt; 2dfile (&lt;/SPAN&gt;&lt;SPAN&gt;findfile&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;getfiled&lt;/SPAN&gt; &lt;SPAN&gt;"Select file"&lt;/SPAN&gt; &lt;SPAN&gt;""&lt;/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&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;command&lt;/SPAN&gt; &lt;SPAN&gt;"_pline"&lt;/SPAN&gt;&lt;SPAN&gt; leftpoint rightpoint &lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;princ&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The error comes like this:&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;error: "failed to set debug break position" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I presume this is because the code is loaded only in the first 3D file so when the 3D file closes it is not capable to draw the pline on the second file. Any thoughts? I thought that, the same way there are programms working for a batch of drawings this would be possible between two of them.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Mar 2022 08:31:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10983376#M48381</guid>
      <dc:creator>franciscovHWABV</dc:creator>
      <dc:date>2022-03-04T08:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10983817#M48382</link>
      <description>&lt;P&gt;Here is a sample code used to get distance (function gd) , get point (function gp) , or simply set some value (function sv), and make it available through all open drawings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun twodec (x)(atof(rtos x 2 3)))

(defun c:gd (/ pp _name)
;get distance and assign to variable name
	(setq pp (atof(rtos(distance (getpoint "\nSelect first point &amp;gt; ")(getpoint "\nSelect second point &amp;gt; ")) 2 5)))
	(setq _name (getstring "\n Variable name for distance &amp;gt; "))
    (set (read _name) pp)
	(vl-propagate (read _name))
	(strcat _name " = " (rtos pp 2 5))
)

(defun c:gp ( / pp _name)
;get point and assign to variable name
	(setq pp (mapcar 'twodec (getpoint "\nSelect point &amp;gt; "))
		_name (getstring "\n Variable name &amp;gt; "))
    
	(set (read _name) pp)
	(vl-propagate (read _name))
	pp
)

(defun c:sv( / pp _name)
	;assign value to variable name
	(setq pp (getstring "\n Enter value or expression &amp;gt;"))
	(setq _name (getstring "\n Variable name&amp;gt; "))	
    (set (read _name) (eval (read pp)))
	(vl-propagate (read _name))

)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding to your description, to take a point you have to run command gp and assign points to left point and right point (3d points) in your drawing with 3d entity.&amp;nbsp; This variables will be set in all open drawings and also in your drawing where you have to create 2d line. You should create a code that works in 2d and creates 2d lines from 3d points from global variables leftpoint and rightpoint. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 12:30:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10983817#M48382</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2022-03-04T12:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10984044#M48383</link>
      <description>&lt;P&gt;Thanks very much &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;I have used your vl-propagate to get the variables into all activated drawings and also the below line to switch easily between open files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;vla-activate&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;vla-item&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;vla-get-documents&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;vlax-get-acad-object&lt;/SPAN&gt;&lt;SPAN&gt;)) (&lt;/SPAN&gt;&lt;SPAN&gt;strcat&lt;/SPAN&gt;&lt;SPAN&gt; 2Dfilename &lt;/SPAN&gt;&lt;SPAN&gt;".dwg"&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;After this line, with the 2d file active I would need to keep going creating more stuff on it, the problem is that the code stops when changing the active drawing. Is there a way to do that? Switch the active drawing and keep running the code on it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 14:03:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10984044#M48383</guid>
      <dc:creator>franciscovHWABV</dc:creator>
      <dc:date>2022-03-04T14:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10984141#M48384</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11117611"&gt;@franciscovHWABV&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each open drawing works in its own closed environment (namespace) so switching and running between drawings doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;General procedure would be to run functions in first drawing and collect variables (functions are finished, variables are propagated), Switch to another drawing and run other functions that utilize previously changed variables (same global variables in all drawings). Drawings are kept open all the time and there is no need for closing them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option is by using output file to store variables. But again, there is no way to directly&amp;nbsp; switch between drawings.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 14:34:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10984141#M48384</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2022-03-04T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Swap between opened dwg files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10984249#M48385</link>
      <description>&lt;P&gt;Ok&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;, thanks!&lt;/P&gt;&lt;P&gt;After one year learning and doing anything I could imagine with lisp it is hard to admit something that simple is impossible. I will have to go with one of the alternatives you have mentioned!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 15:09:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/swap-between-opened-dwg-files/m-p/10984249#M48385</guid>
      <dc:creator>franciscovHWABV</dc:creator>
      <dc:date>2022-03-04T15:09:42Z</dc:date>
    </item>
  </channel>
</rss>

