<?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: Multiple or stored OFFSET values in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10320508#M77867</link>
    <description>&lt;P&gt;You may be able to use &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OFFMULT.lsp&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;A href="https://cadtips.cadalyst.com/2d-editing/save-and-reuse-multiple-offset-distance-values" target="_blank" rel="noopener"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 11:03:43 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2021-05-18T11:03:43Z</dc:date>
    <item>
      <title>Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10319155#M77865</link>
      <description>&lt;P&gt;Does anyone know of a way I can "store" an offset value?&lt;/P&gt;&lt;P&gt;When you close and reopen offset, the prompt asking you what your value is, suggests the last value you used.&amp;nbsp; Right?&lt;/P&gt;&lt;P&gt;I draw aluminum framework windows - the glass may be different in shape and size, but the cross section of the frame remains the same throughout.&amp;nbsp; Allow me to script an example, if you will...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The frame is 2" in x-sect, the glass is, bigger.&amp;nbsp; So if we have 3 windows, we start with frame, then glass, then frame, then glass, then frame, then glass, and finally frame.&amp;nbsp; Something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2" + 17.625" + 2" + 30.25" + 2" + 17.625" + 2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm looking for is if it's possible to store the 2" somewhere, so I can choose it, rather than have to type it in every time.&amp;nbsp; Possibly instead of suggesting the last used, it could be adapted to use the last 2...?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's anyone?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 20:41:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10319155#M77865</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2021-05-17T20:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10319303#M77866</link>
      <description>&lt;P&gt;type (SETQ MYVAR 2) at the beginning of your session,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then at the Offset prompt for distance, type in !myvar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or add it as part of a macro&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 22:02:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10319303#M77866</guid>
      <dc:creator>jggerth</dc:creator>
      <dc:date>2021-05-17T22:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10320508#M77867</link>
      <description>&lt;P&gt;You may be able to use &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OFFMULT.lsp&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;A href="https://cadtips.cadalyst.com/2d-editing/save-and-reuse-multiple-offset-distance-values" target="_blank" rel="noopener"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 11:03:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10320508#M77867</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-05-18T11:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321181#M77868</link>
      <description>&lt;P&gt;Forgive my ignorance, or perhaps just forgetfulness, Kent, it's been&amp;nbsp; number of years since I did this kind of stuff, and I dare say a number of versions ago too.&amp;nbsp; How do I load your lisp routine?&amp;nbsp; (the help menu wasn't very helpful...)&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 15:42:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321181#M77868</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2021-05-18T15:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321242#M77869</link>
      <description>&lt;P&gt;Never mind, I was able to load it successfully, now how do I use it...?&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 16:10:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321242#M77869</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2021-05-18T16:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321574#M77870</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3167464"&gt;@MarkFitz&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... I was able to load it successfully, now how do I use it...?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Read the top of the file.&amp;nbsp; Just type in the letter &lt;FONT color="#000000"&gt;&lt;STRONG&gt;O&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;[for &lt;STRONG&gt;&lt;FONT color="#000000"&gt;O&lt;/FONT&gt;&lt;/STRONG&gt;ffset] followed by either any single digit [&lt;STRONG&gt;&lt;FONT color="#000000"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; through &lt;STRONG&gt;&lt;FONT color="#000000"&gt;9&lt;/FONT&gt;&lt;/STRONG&gt;] or any letter from &lt;STRONG&gt;&lt;FONT color="#000000"&gt;A&lt;/FONT&gt;&lt;/STRONG&gt; through &lt;STRONG&gt;&lt;FONT color="#000000"&gt;J&lt;/FONT&gt;&lt;/STRONG&gt;.&amp;nbsp; There are 20 commands defined, so you can save up to 20 regularly-used Offset distances.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could set your example distances into [for example] the &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;STRONG&gt;&lt;FONT color="#000000"&gt;OB&lt;/FONT&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;FONT color="#000000"&gt;OC&lt;/FONT&gt;&lt;/STRONG&gt; commands.&amp;nbsp; Type &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;, and it will ask for a distance just as regular Offset does, but if you have set a distance for that command before, it will offer that as the default, so you don't need to type it in again.&amp;nbsp; [If you haven't, it will offer regular Offset's distance as the default.] Give it 2 for the distance for the &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt; command, and Offset your edge frame member with it.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then type &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OB&lt;/STRONG&gt;&lt;/FONT&gt;, and give it 17.625" and Offset the first glass width with that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then type &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt; again, &lt;EM&gt;accept the default 2" that's already stored for it,&lt;/EM&gt; and Offset the next frame member width.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then type &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OC&lt;/STRONG&gt;&lt;/FONT&gt;, give it 30.25" and Offset the next glass width.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then type &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt; again, &lt;EM&gt;accept the default 2"&lt;/EM&gt; and Offset the next frame member width.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then type &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OB&lt;/STRONG&gt;&lt;/FONT&gt; again, &lt;EM&gt;accept the offered default 17.625"&lt;/EM&gt;&amp;nbsp;and Offset the last glass width.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then type &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt; again, &lt;EM&gt;accept the default 2"&lt;/EM&gt; and Offset the last frame member width.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Those values will &lt;EM&gt;remain as defaults&lt;/EM&gt; for those 3 commands [but you can change the value in any of the commands any time you use it], for further use in the current drawing, or in other drawings, or [unlike with typical AutoLisp variables]&amp;nbsp;&lt;EM&gt;even after you've closed AutoCAD&lt;/EM&gt;, so you can use them without typing in the values again every time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can, for example, set other combinations of glass widths into other commands, let's say &lt;FONT color="#000000"&gt;&lt;STRONG&gt;O3&lt;/STRONG&gt;&lt;/FONT&gt; and &lt;FONT color="#000000"&gt;&lt;STRONG&gt;O4&lt;/STRONG&gt;&lt;/FONT&gt;, but &lt;EM&gt;stick with the 2" in &lt;/EM&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;&lt;EM&gt; for the frame members&lt;/EM&gt;, and do the same kind of arrangement for a different-width opening with &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;STRONG&gt;&lt;FONT color="#000000"&gt;O3&lt;/FONT&gt;&lt;/STRONG&gt;, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;FONT color="#000000"&gt;&lt;STRONG&gt;O4&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;FONT color="#000000"&gt;&lt;STRONG&gt;O3&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;.&amp;nbsp; And you can put the glass height into, say, &lt;STRONG&gt;&lt;FONT color="#000000"&gt;OH&lt;/FONT&gt;&lt;/STRONG&gt;, and do the bottom-to-top [or top-to-bottom] of an opening [with no intermediate horizontal mullions] with &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OH&lt;/STRONG&gt;&lt;/FONT&gt;, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;OA&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Etc., etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 18:23:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321574#M77870</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-05-18T18:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321705#M77871</link>
      <description>&lt;P&gt;While not exactly what you are looking for but, after you enter it once, you can right click and use the "recent input" option. Just mentioning it in case you were not aware of it.&amp;nbsp; You could also define a LISP routine to always provide a value of 2".&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 19:06:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10321705#M77871</guid>
      <dc:creator>Jason.Piercey</dc:creator>
      <dc:date>2021-05-18T19:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple or stored OFFSET values</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10324200#M77872</link>
      <description>&lt;P&gt;Thanks Kent!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see a little practice required here, but this sounds like exactly what I'm after, and then some!&amp;nbsp; If they save between drawings, then I can enter all the frame sizes we use and simple apply the new ones as temporary glass sizes.&amp;nbsp; Genius!!&amp;nbsp; And I dare say long over due.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many, many thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 17:25:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/multiple-or-stored-offset-values/m-p/10324200#M77872</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2021-05-19T17:25:48Z</dc:date>
    </item>
  </channel>
</rss>

