<?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: Dimension extension Line to center bypick in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239368#M94878</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:
&lt;P class="1735840082961"&gt;....&amp;nbsp;&lt;SPAN&gt;oddly, DIMOVERRIDE&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;doesn't recognize the appropriate Dimension variables&lt;/EM&gt;&lt;SPAN&gt; [DIMLTEX1 &amp;amp; 2], either within AutoLisp code or when done manually.&amp;nbsp; ....&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That doesn't work in the older version at my other location, either.&amp;nbsp; Nor does the (get/setpropertyvalue) approach seem to be able to do it.&lt;/P&gt;
&lt;P&gt;BUT I find &lt;STRONG&gt;it can be done with VLA properties&lt;/STRONG&gt;.&amp;nbsp; I'll see if I can make that work....&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp; Oh, wait....&amp;nbsp; Half of this is already in the routine at Message 2, with your specified linetype, but only forcing that on the extension line, not toggling between that and another linetype.&amp;nbsp; Working the toggling part into that will probably be simpler than working the linetype elements into the DET command.&lt;/P&gt;
&lt;P&gt;Did you say CENTER2 because you want that specifically, or just because it's the linetype of the Topic?&amp;nbsp; In other words, should a linetype be hard-coded into it [different commands could be made for different linetypes], or would you want to be prompted for one, or perhaps for both?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 18:05:44 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2025-01-02T18:05:44Z</dc:date>
    <item>
      <title>Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489651#M94864</link>
      <description>&lt;P&gt;I have been seeking a lisp that allows me to pick a dimension extension line and set it to center2 linetype. The problem is the ones i have found do not work on overlapping dimensions.&lt;/P&gt;
&lt;P&gt;I have a cool lisp that works great but it turns extension lines off and draws a line in place of two lines turned off. This makes for difficult editing later on.&lt;/P&gt;
&lt;P&gt;I have attached the lisp, maybe one of you can assist me with making it turn one extension line off and change the linetype of one when over lapping or just change the linetype on both??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:06:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489651#M94864</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2018-12-27T18:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489773#M94865</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6400150"&gt;@DC-MWA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have been seeking a lisp that allows me to pick a dimension extension line and set it to center2 linetype. The problem is the ones i have found do not work on overlapping dimensions.&lt;/P&gt;
&lt;P&gt;I have a cool lisp that works great but it turns extension lines off and draws a line in place of two lines turned off. This makes for difficult editing later on.&lt;/P&gt;
&lt;P&gt;I have attached the lisp, maybe one of you can assist me with making it turn one extension line off and change the linetype of one when over lapping or just change the linetype on both??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I took my &lt;FONT color="#000000"&gt;DimExtLineToggle.lsp&lt;/FONT&gt; routine with its &lt;STRONG&gt;&lt;FONT color="#000000"&gt;DET&lt;/FONT&gt;&lt;/STRONG&gt; command, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-toggle/m-p/2332828/highlight/true#M266392" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;, and made the attached modification to &lt;FONT color="#000000"&gt;&lt;STRONG&gt;DimExtLineCENTER2.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;STRONG&gt;&lt;FONT color="#000000"&gt;DEC2&lt;/FONT&gt;&lt;/STRONG&gt; command,&amp;nbsp;to do that.&amp;nbsp; Very quickie edit [I may not have caught everything that could be omitted from or should be re-worded in DET], and lightly tested.&amp;nbsp; It does not turn off the Extension line and draw a separate Line, but assigns the Linetype to the Extension line itself.&amp;nbsp; You can pick anywhere on the Dimension that's closer to the Extension line you want affected, on itself if it's visible [if the appropriate Extension line is suppressed, it turns it back on], or on the Dimension line, or the arrowhead, or the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The great bulk of it is devoted to determining whether it's Extension Line 1 or 2 that should be given the Linetype, so the User doesn't need to know which end is which, accounting for some extreme geometric relationships between definition points and Dimension line location, different Dimension varieties, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It only does one&amp;nbsp;-- if you have two overlapping, for now do it to both, or use &lt;STRONG&gt;&lt;FONT color="#000000"&gt;DET&lt;/FONT&gt;&lt;/STRONG&gt; to turn one off [also if they're different lengths and the dashes/gaps don't coincide, use &lt;FONT color="#000000"&gt;DET&lt;/FONT&gt; on the shorter one].&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:35:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489773#M94865</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-12-27T19:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489889#M94866</link>
      <description>&lt;P&gt;Maybe this?&lt;/P&gt;
&lt;PRE&gt;(defun c:foo (/ e lt)
  ;; RJP » 2018-12-27
  (setq lt "Center")
  (or (tblsearch "LTYPE" lt) (command "linetype" "l" lt "acad.lin" ""))
  (while (and (setq e (nentsel "\nPick dimension line: "))
	      (= 4 (length e))
	      (= "LINE" (cdr (assoc 0 (entget (car e)))))
	 )
    (vla-put-linetype (vlax-ename-&amp;gt;vla-object (car e)) lt)
    ;; Pick overlapping lines twice
    (command "_.draworder" (car (last e)) "" "_Back")
    (command "_.regen")
  )
  (princ)
)
(vl-load-com)&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:00:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489889#M94866</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2018-12-27T21:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489912#M94867</link>
      <description>&lt;P&gt;this works. If DEC.lsp would allow me to select both dims and process both it would be perfect.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:12:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489912#M94867</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2018-12-27T21:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489916#M94868</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Maybe this?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting, but I find it doesn't "stick" -- if I alter the Dimension in any way, such as&amp;nbsp;by dragging any grip&amp;nbsp;[dimension-line location, text location, &lt;EM&gt;either&lt;/EM&gt;&amp;nbsp; definition point -- not just the affected end], or even just Move or Rotate the overall Dimension, the affected extension line &lt;EM&gt;reverts&lt;/EM&gt;&amp;nbsp; to&amp;nbsp;the linetype&amp;nbsp;it had before.&amp;nbsp; And even without doing that, while it still appears correct,&amp;nbsp;that linetype assignment&amp;nbsp;does &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp; show in the Properties palette.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:15:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489916#M94868</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-12-27T21:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489942#M94869</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6400150"&gt;@DC-MWA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;this works. If DEC.lsp would allow me to select both dims and process both it would be perfect.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll have to think about that....&amp;nbsp; It works on one at a time because it depends on the pick location in relation to the rest of the individual Dimension's particulars&amp;nbsp;to decide which end to affect.&amp;nbsp; So multiple selection can't be done with [for example] a window.&amp;nbsp; And just having it pick twice at the same location would usually result in its seeing the same Dimension both times.&amp;nbsp; How to pick more than one with presumably a single pick in a way that it can figure out what to do, and in a way that will work whether&amp;nbsp;one or two [ever possibly more than two?] Dimension(s) is/are there,&amp;nbsp;could be a challenge, but it may be doable.&amp;nbsp; In the meantime, it doesn't take long to whap the space bar and pick the second one, &lt;EM&gt;on its dimension line&lt;/EM&gt;&amp;nbsp; [or arrowhead or even text] rather than on the overlapping extension lines, to avoid confusion -- one of the advantages of its not requiring picking on the extension line itself.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:38:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489942#M94869</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-12-27T21:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489944#M94870</link>
      <description>It's never more than two dimensions.&lt;BR /&gt;&lt;BR /&gt;Maybe it's a matter of running DEC to pick one and DEX to turn of the under lying extension line.&lt;BR /&gt;&lt;BR /&gt;I'm thinking maybe combine the two and have it dec the first pick and dex the second.&lt;BR /&gt;&lt;BR /&gt;Some franken lisping if you will...&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:42:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489944#M94870</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2018-12-27T21:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489959#M94871</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6400150"&gt;@DC-MWA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;....&lt;BR /&gt;Maybe it's a matter of running DEC to pick one and DEX to turn of the under lying extension line.&lt;BR /&gt;....&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming you're talking about my routines, and you really mean &lt;STRONG&gt;&lt;FONT color="#000000"&gt;DEC&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;FONT color="#000000"&gt;DE&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;T&lt;/FONT&gt;&lt;/STRONG&gt;, there remains the complication that &lt;FONT color="#000000"&gt;DE&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;T&lt;/FONT&gt;&lt;/STRONG&gt; is named that way because it's&amp;nbsp;a &lt;STRONG&gt;&lt;FONT color="#000000"&gt;D&lt;/FONT&gt;&lt;/STRONG&gt;imension &lt;STRONG&gt;&lt;FONT color="#000000"&gt;E&lt;/FONT&gt;&lt;/STRONG&gt;xtension-line&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;T&lt;/FONT&gt;&lt;/STRONG&gt;oggle&lt;/EM&gt;, that is, turns the extension line off if it's on, &lt;EM&gt;or on if it's off&lt;/EM&gt;.&amp;nbsp; So if a Dimension is identified and the extension line at that end is already off, it will turn it on, which presumably you don't want if the other Dimension there has had the linetype assigned.&amp;nbsp; But it could&amp;nbsp;surely be franken-lisped to &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp; toggle, but just turn [or &lt;EM&gt;leave&lt;/EM&gt;] that one off, if the selection aspect I described before can be worked out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, are the extension lines ever of &lt;EM&gt;different lengths?&lt;/EM&gt;&amp;nbsp; I.e., coming off different definition point positions, or going to dimension lines at different distances off the Dimensioned objects?&amp;nbsp; If so, presumably you want the longer one left on and the shorter suppressed [because the dashes and gaps are not likely to coincide if they're both on], which should be possible to determine, if one end at least is in the same place.&amp;nbsp; But there are certainly possible situations where one is longer at one end but shorter at the other -- I'm not sure what would be the best way to handle that....&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 22:05:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489959#M94871</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-12-27T22:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489995#M94872</link>
      <description>&lt;P&gt;DEC2 selects the first dim and changes the linetype. DET selects the second dim, and turns the line off.&lt;/P&gt;
&lt;P&gt;Two clicks, one routine. DEC2 and DET combined.&lt;/P&gt;
&lt;P&gt;Awesome!!!&amp;nbsp; just sayin...&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 22:50:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8489995#M94872</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2018-12-27T22:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8490665#M94873</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6400150"&gt;@DC-MWA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;DEC2 selects the first dim and changes the linetype. DET selects the second dim, and turns the line off.&lt;/P&gt;
&lt;P&gt;Two clicks, one routine. DEC2 and DET combined.&lt;/P&gt;
&lt;P&gt;Awesome!!!&amp;nbsp; just sayin...&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Try this [with both routines and the CENTER2 linetype already loaded in the drawing]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;(defun C:TEST () (C:DEC2) (C:DET))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can pick anywhere on each Dimension involved, closer to their shared end than to each one's other end.&amp;nbsp; If you pick on their overlapping extension lines, it gives you control over which gets the linetype assigned.&amp;nbsp; It's easier for the&amp;nbsp;second&amp;nbsp;command&amp;nbsp;to pick on the dimension line or arrowhead or text, so you don't need to specify again which Dimension for that.&amp;nbsp; Or, if you have the &lt;FONT color="#000000"&gt;LTGAPSELECTION&lt;/FONT&gt; System Variable set to &lt;STRONG&gt;&lt;FONT color="#000000"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;, and the overlapping is visible enough [newer versions of AutoCAD] and the gaps big enough, you can pick on the second one's extension line within one of the gaps in the other's that got the linetype assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to figure whether there's a way to pick &lt;EM&gt;once&lt;/EM&gt;&amp;nbsp; on overlapping extension lines and achieve that result, or just do the linetype thing if there's only one Dimension there [it would able to tell&amp;nbsp;-- an advantage over the TEST command above].&amp;nbsp; But&amp;nbsp;here's the complication:&amp;nbsp; To select &lt;EM&gt;one&lt;/EM&gt;&amp;nbsp; thing, as both those routines do, they use (entsel), and part of what that returns is &lt;EM&gt;the point at which you picked&lt;/EM&gt;.&amp;nbsp; That's essential to figuring out which "end" of the Dimension you're at, to determine whether extension line 1 or 2 should be altered.&amp;nbsp; To select &lt;EM&gt;more than one&lt;/EM&gt;&amp;nbsp; thing would require (ssget), and while there's an :E selection mode that would see everything at the pick point, so two such Dimensions could be selected with one pick, the return from (ssget) does not include anything about where that pick was.&amp;nbsp; But&amp;nbsp;(ssnamex) can pull that information, so I'm investigating&amp;nbsp;an approach using that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that works out, it would only work reliably when the extension lines are the same length and overlap over their entire length, because you would have no control over which of them got the linetype assigned and which got suppressed,&amp;nbsp;which you do have control over with the &lt;EM&gt;two&lt;/EM&gt;-pick scenario in the TEST command above.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 14:20:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8490665#M94873</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-12-28T14:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8491063#M94874</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Maybe this?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting, but I find it doesn't "stick" -- if I alter the Dimension in any way, such as&amp;nbsp;by dragging any grip&amp;nbsp;[dimension-line location, text location, &lt;EM&gt;either&lt;/EM&gt;&amp;nbsp; definition point -- not just the affected end], or even just Move or Rotate the overall Dimension, the affected extension line &lt;EM&gt;reverts&lt;/EM&gt;&amp;nbsp; to&amp;nbsp;the linetype&amp;nbsp;it had before.&amp;nbsp; And even without doing that, while it still appears correct,&amp;nbsp;that linetype assignment&amp;nbsp;does &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp; show in the Properties palette.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's too bad, it's such a simple solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 17:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8491063#M94874</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2018-12-28T17:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8493051#M94875</link>
      <description>&lt;P&gt;First, I apologize for the delay.&lt;/P&gt;
&lt;P&gt;This works well. It requires two picks, but it does what i needed. I &lt;FONT size="3"&gt;copied&lt;/FONT&gt; the dec and det lisps into one file, added the&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;"(defun C:TEST () (C:DEC2) (C:DET))" at the end.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;It works. I love the one I have been using because of it's simplicity to use one clock. But, later when editing, the drawn line place of extension line becomes an issue.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;So... Thanks again my friend. If you happen to figure out the one pick overlapping solution.... that would be great. For now let's call it a win.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Dec 2018 16:37:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/8493051#M94875</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2018-12-30T16:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13236848#M94876</link>
      <description>&lt;P&gt;I like the "DIMEXTLINETOGGLE.LSP", it works great.&lt;/P&gt;&lt;P&gt;It would be great to have command similar to it that would toggle the selected extension line between "CENTER2" and "BYLAYER". Can you make something like this?&lt;/P&gt;&lt;P&gt;Grant&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 20:49:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13236848#M94876</guid>
      <dc:creator>GLTrippE7XB4</dc:creator>
      <dc:date>2024-12-31T20:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13237530#M94877</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14646768"&gt;@GLTrippE7XB4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I like the "DIMEXTLINETOGGLE.LSP", it works great.&lt;/P&gt;
&lt;P&gt;It would be great to have command similar to it that would toggle the selected extension line between "CENTER2" and "BYLAYER". ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I started to look into this.&amp;nbsp; I thought it should be easy to replace the appropriate pieces in the DIMOVERRIDE command that is used in &lt;STRONG&gt;DET&lt;/STRONG&gt;, but oddly, DIMOVERRIDE&amp;nbsp;&lt;EM&gt;doesn't recognize the appropriate Dimension variables&lt;/EM&gt; [DIMLTEX1 &amp;amp; 2], either within AutoLisp code or when done manually.&amp;nbsp; Also, the information for an extension-line linetype override is stored inscrutably in extended data -- not just the name of the linetype, but a hexadecimal code somehow [it's "&lt;STRONG&gt;256&lt;/STRONG&gt;" for CENTER2, but it's a hexadecimal text string, not just an integer, since it's for example "&lt;STRONG&gt;29E&lt;/STRONG&gt;" for DOT].&amp;nbsp; And a Dimension with no overrides&amp;nbsp;&lt;EM&gt;has no extended data to modify&lt;/EM&gt;, so I'll need to get into how to &lt;EM&gt;add&lt;/EM&gt; some if it can't be done via DIMOVERRIDE as it is in the &lt;STRONG&gt;DET&lt;/STRONG&gt; command.&amp;nbsp; I'll check whether those variables are recognized in that command in a different version tomorrow, in case it's a version quirk [Acad2024 &amp;amp; 2025 here, 2020 at another location].&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2025 14:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13237530#M94877</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2025-01-01T14:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239368#M94878</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:
&lt;P class="1735840082961"&gt;....&amp;nbsp;&lt;SPAN&gt;oddly, DIMOVERRIDE&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;doesn't recognize the appropriate Dimension variables&lt;/EM&gt;&lt;SPAN&gt; [DIMLTEX1 &amp;amp; 2], either within AutoLisp code or when done manually.&amp;nbsp; ....&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That doesn't work in the older version at my other location, either.&amp;nbsp; Nor does the (get/setpropertyvalue) approach seem to be able to do it.&lt;/P&gt;
&lt;P&gt;BUT I find &lt;STRONG&gt;it can be done with VLA properties&lt;/STRONG&gt;.&amp;nbsp; I'll see if I can make that work....&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp; Oh, wait....&amp;nbsp; Half of this is already in the routine at Message 2, with your specified linetype, but only forcing that on the extension line, not toggling between that and another linetype.&amp;nbsp; Working the toggling part into that will probably be simpler than working the linetype elements into the DET command.&lt;/P&gt;
&lt;P&gt;Did you say CENTER2 because you want that specifically, or just because it's the linetype of the Topic?&amp;nbsp; In other words, should a linetype be hard-coded into it [different commands could be made for different linetypes], or would you want to be prompted for one, or perhaps for both?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 18:05:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239368#M94878</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2025-01-02T18:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239444#M94879</link>
      <description>&lt;P&gt;Kent,&lt;/P&gt;&lt;P&gt;I said CENTER2 because that is our centerline type with our current drawing format. Finding that in the lisp file and be able change it to CENTER (or something else) in the future would be good.&amp;nbsp; On your comment above, I read it to be hard-coded to do one change. I do not want to be asked what to change it to.&lt;/P&gt;&lt;P&gt;What I want is to toggle (change) the extension line from BYLAYER to CENTER2 or from CENTER2 to BYLAYER. It would work just like your lisp command (&lt;SPAN&gt;DimExtLineToggle.lsp)&amp;nbsp;&lt;/SPAN&gt;that toggles the extension line off or on. Note, what I really like on the&amp;nbsp;&lt;SPAN&gt;DimExtLineToggle.lsp I can select the dimension line near the extension line to turn that extension line off or on, that makes the lisp command clean and easy. Note, I am not looking to change both extension lines, just the one that I select nearest to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 18:56:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239444#M94879</guid>
      <dc:creator>GLTrippE7XB4</dc:creator>
      <dc:date>2025-01-02T18:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239493#M94880</link>
      <description>&lt;P&gt;... like the attached.&amp;nbsp; Lightly tested.&amp;nbsp; I did not update some things [such as the Undo begin/end approach] to the way I would typically do them in a new routine today.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It changes the linetype of the appropriate extension line to CENTER2 if it is currently&amp;nbsp;&lt;EM&gt;anything other than that&lt;/EM&gt;, not just if it's ByBlock, and it changes it to ByBlock &lt;EM&gt;only if it's currently CENTER2&lt;/EM&gt;, not if it's anything else.&amp;nbsp; It could probably be made more sophisticated about the possibilities, if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It forces the extension line in question on if it's off, because what's the point of changing its linetype otherwise?&amp;nbsp; But that can be omitted, if you want its linetype changed but not its visibility.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be easy to have it ask for a Linetype, to toggle between that and ByBlock, or for two to toggle between, and/or to use ByLayer instead of ByBlock, and so on.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 19:20:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239493#M94880</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2025-01-02T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension extension Line to center bypick</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239520#M94881</link>
      <description>&lt;P&gt;THANK YOU!!!! It works GREAT! Your other comments are valid, but not for out kind of work. Detailing the structural decks sometimes going to center of beams or edges of plates and channels, with this lisp and the off/on lisp, we can make the dimensions clean, fast and more unified.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 19:34:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dimension-extension-line-to-center-bypick/m-p/13239520#M94881</guid>
      <dc:creator>GLTrippE7XB4</dc:creator>
      <dc:date>2025-01-02T19:34:08Z</dc:date>
    </item>
  </channel>
</rss>

