<?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: I need a method to align extension line? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993606#M169688</link>
    <description>&lt;P&gt;check the following&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun c:ext_100 (/ dim_dxf ext_line_angle ext_line_1_end ext_line_2_end dim_dxf)
	(foreach dim (vl-remove-if 'listp (mapcar 'cadr (ssnamex (ssget '((0 . "dimension")))))) 
		(setq dim_dxf (entget dim))
		(setq ext_line_angle (angle (cdr (assoc 10 dim_dxf)) (cdr (assoc 14 dim_dxf))))
		(setq ext_line_1_end (polar (inters (cdr (assoc 10 dim_dxf)) (cdr (assoc 11 dim_dxf)) (cdr (assoc 13 dim_dxf)) (polar (cdr (assoc 13 dim_dxf)) ext_line_angle 1) nil) ext_line_angle 100))
		(setq ext_line_2_end (polar (inters (cdr (assoc 10 dim_dxf)) (cdr (assoc 11 dim_dxf)) (cdr (assoc 14 dim_dxf)) (polar (cdr (assoc 14 dim_dxf)) ext_line_angle 1) nil) ext_line_angle 100))
		(setq dim_dxf (subst (cons 13 ext_line_1_end) (assoc 13 dim_dxf) dim_dxf))
		(setq dim_dxf (subst (cons 14 ext_line_2_end) (assoc 14 dim_dxf) dim_dxf)) 
		(entmod dim_dxf)
	)
	(princ)
)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 28 Jan 2026 07:22:25 GMT</pubDate>
    <dc:creator>komondormrex</dc:creator>
    <dc:date>2026-01-28T07:22:25Z</dc:date>
    <item>
      <title>I need a method to align extension line?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993373#M169681</link>
      <description>&lt;P&gt;I need a method to align extension line?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 01:18:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993373#M169681</guid>
      <dc:creator>raymondcheng0922</dc:creator>
      <dc:date>2026-01-28T01:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: I need a method to align extension line?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993440#M169684</link>
      <description>&lt;P&gt;More information, please, about the end result you want.&amp;nbsp; The drawing has only four objects that are &lt;EM&gt;not&lt;/EM&gt; Dimensions, but it has &lt;STRONG&gt;&lt;EM&gt;219&lt;/EM&gt;&lt;/STRONG&gt; Dimensions, most of which therefore do not measure to anything.&amp;nbsp; In what way would you like which extension lines to be aligned?&amp;nbsp; If I'm correct in assuming the drawing is "before," what should "after" look like?&amp;nbsp; Etc.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 02:56:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993440#M169684</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-01-28T02:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: I need a method to align extension line?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993447#M169687</link>
      <description>&lt;P&gt;&lt;SPAN&gt;keep all dimensions extension line 100mm. thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 03:12:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993447#M169687</guid>
      <dc:creator>raymondcheng0922</dc:creator>
      <dc:date>2026-01-28T03:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: I need a method to align extension line?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993606#M169688</link>
      <description>&lt;P&gt;check the following&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun c:ext_100 (/ dim_dxf ext_line_angle ext_line_1_end ext_line_2_end dim_dxf)
	(foreach dim (vl-remove-if 'listp (mapcar 'cadr (ssnamex (ssget '((0 . "dimension")))))) 
		(setq dim_dxf (entget dim))
		(setq ext_line_angle (angle (cdr (assoc 10 dim_dxf)) (cdr (assoc 14 dim_dxf))))
		(setq ext_line_1_end (polar (inters (cdr (assoc 10 dim_dxf)) (cdr (assoc 11 dim_dxf)) (cdr (assoc 13 dim_dxf)) (polar (cdr (assoc 13 dim_dxf)) ext_line_angle 1) nil) ext_line_angle 100))
		(setq ext_line_2_end (polar (inters (cdr (assoc 10 dim_dxf)) (cdr (assoc 11 dim_dxf)) (cdr (assoc 14 dim_dxf)) (polar (cdr (assoc 14 dim_dxf)) ext_line_angle 1) nil) ext_line_angle 100))
		(setq dim_dxf (subst (cons 13 ext_line_1_end) (assoc 13 dim_dxf) dim_dxf))
		(setq dim_dxf (subst (cons 14 ext_line_2_end) (assoc 14 dim_dxf) dim_dxf)) 
		(entmod dim_dxf)
	)
	(princ)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Jan 2026 07:22:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993606#M169688</guid>
      <dc:creator>komondormrex</dc:creator>
      <dc:date>2026-01-28T07:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: I need a method to align extension line?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993951#M169691</link>
      <description>&lt;P&gt;That's what this is for:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1769603499361.png" style="width: 386px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1613804i0F7C1A3CA70081C0/image-dimensions/386x325?v=v2" width="386" height="325" role="button" title="Kent1Cooper_0-1769603499361.png" alt="Kent1Cooper_0-1769603499361.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In your drawing with its DIMSCALE System Variable set to 100, the setting in the Dimension Style definition would be 1.&amp;nbsp; Adjust accordingly for different DIMSCALE settings.&lt;/P&gt;
&lt;P&gt;Applied in your drawing, the left group becomes:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1769603649670.png" style="width: 244px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1613805i4471F69B85278E5D/image-dimensions/244x133?v=v2" width="244" height="133" role="button" title="Kent1Cooper_1-1769603649670.png" alt="Kent1Cooper_1-1769603649670.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 12:34:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-need-a-method-to-align-extension-line/m-p/13993951#M169691</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-01-28T12:34:53Z</dc:date>
    </item>
  </channel>
</rss>

