<?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: break a line   to N numbers of segments in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12216983#M345103</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3371325"&gt;@90491929&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... I found an issue with this 3d polyline.&amp;nbsp; Is this meant to work with 3d polys? I see there's a&amp;nbsp;&lt;EM&gt;*polyline&amp;nbsp;&lt;/EM&gt;in the ssget.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What is your "issue"?&amp;nbsp; Assuming you're talking about the &lt;STRONG&gt;SD&lt;/STRONG&gt; command in &lt;STRONG&gt;SubDivide.lsp&lt;/STRONG&gt;, yes, it works with 3D Polylines.&amp;nbsp; See the comment at the top: "Works on anything that Break can be used on...."&amp;nbsp; I just tried it on yours, successfully.&amp;nbsp; [It's planar -- is there some reason for it to be a &lt;EM&gt;3D&lt;/EM&gt; Polyline instead of one of the 2D kinds?]&amp;nbsp; If it doesn't work for you, what happens instead?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The * is a wildcard standing for any character content [including nothing], in this case to allow both LWPOLYLINE and POLYLINE as entity types to be accepted.&amp;nbsp; [POLYLINE covers both 3D and "heavy" 2D varieties.]&amp;nbsp; It could have used just &lt;STRONG&gt;*LINE&lt;/STRONG&gt; to cover LINE, POLYLINE, LWPOLYLINE and SPLINE &lt;EM&gt;all in one entry&lt;/EM&gt;, but that would also allow XLINE and MLINE, which are not allowable [XLINE because they don't have length to divide, and MLINE because BREAK can't work on them].&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 16:36:36 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2023-09-04T16:36:36Z</dc:date>
    <item>
      <title>break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/5452339#M345093</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This is vykunta my question is here &amp;nbsp;How to convert my line to N number of segments line?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2014 08:56:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/5452339#M345093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-24T08:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/5452350#M345094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is no standard function for that within plain AutoCAD 2015, but if you have a vertical product like ACA, MEP, Civil 3D ... you might have such a functionality built in, in that case let's know what product you have.&lt;/P&gt;
&lt;P&gt;The other option is to search the www. If my remembering is ok then there are exists some LISP's doing that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2014 09:17:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/5452350#M345094</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2014-12-24T09:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/5452483#M345095</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....How to convert my line to N number of segments line?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can use the &lt;STRONG&gt;SD&lt;/STRONG&gt; command in the &lt;STRONG&gt;SubDivide.lsp&lt;/STRONG&gt; file attached.&amp;nbsp; That will break it into segments that touch at their ends.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want it broken up into pieces &lt;EM&gt;with gaps between them&lt;/EM&gt;, i.e.&amp;nbsp;to look like a non-continuous linetype such as HIDDEN, use the &lt;STRONG&gt;BreakUp.lsp&lt;/STRONG&gt; file attached.&amp;nbsp; The command names are BU- followed by the linetype name, such as &lt;STRONG&gt;BU-HIDDEN&lt;/STRONG&gt;.&amp;nbsp; It's in progress -- read the comments at the top.&amp;nbsp; It won't let you specify the number of segments, but bases its breaking up on the linetype definition and the drawing's current linetype scale, so if you want a specific number of segments, you'll need to try it at different LTSCALE settings until the result is right.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2014 13:33:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/5452483#M345095</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2014-12-24T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/11466284#M345096</link>
      <description>&lt;P&gt;Updated version of &lt;STRONG&gt;SubDivide.lsp&lt;/STRONG&gt; that allows selection of &lt;EM&gt;multiple&lt;/EM&gt; objects, all to be &lt;STRONG&gt;SubDivide&lt;/STRONG&gt;d in the same way.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:34:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/11466284#M345096</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-10-06T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12099780#M345097</link>
      <description>&lt;P&gt;Hello everyone, I have a question about the LISP SubDivide.&lt;/P&gt;&lt;P&gt;I noticed that the actual lengths of the segments it creates from the selected line are never of the length that I input with "M", but always slightly less. I was wondering if there is a way (or another LISP) that allows to create the various segments of the lenght I choose. I am still a beginner so I am not aware of anything similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Silvia&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 15:10:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12099780#M345097</guid>
      <dc:creator>silvia_aldrighetti_1</dc:creator>
      <dc:date>2023-07-13T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12099837#M345098</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14167358"&gt;@silvia_aldrighetti_1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;.... the actual lengths of the segments it creates from the selected line are never of the length that I input with "M", but always slightly less. I was wondering if there is a way (or another LISP) that allows to create the various segments of the lenght I choose. ....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's what the&amp;nbsp;&lt;STRONG&gt;M&lt;/STRONG&gt; stands for - &lt;STRONG&gt;M&lt;/STRONG&gt;aximum, meaning "break this into the smallest number of equal-length pieces such that their length does not exceed the &lt;STRONG&gt;M&lt;/STRONG&gt;aximum I specified."&amp;nbsp; It's a Maximum, not a fixed length.&amp;nbsp; Of course, they're &lt;EM&gt;not&lt;/EM&gt; always slightly less, but will be whenever the overall length is not a clean multiple of the Maximum length specified.&amp;nbsp; And they could be &lt;EM&gt;more than slightly&lt;/EM&gt; less, depending on the relationship of current length to Maximum.&amp;nbsp; [For instance, if you use it on a 10-unit-long object, and specify a Maximum segment length of 9 units, the result will be two pieces of only 5 units, because it has to do two pieces or the result would exceed the Maximum.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's designed for &lt;EM&gt;&lt;STRONG&gt;equal-length&lt;/STRONG&gt;&lt;/EM&gt; results.&amp;nbsp; If you want a &lt;EM&gt;specific&lt;/EM&gt; length rather than a Maximum, except when the overall length is a clean multiple of that you will get all but one segment at that specific length, and &lt;EM&gt;one shorter&lt;/EM&gt;, with &lt;EM&gt;how much&lt;/EM&gt; shorter varying all over the map.&amp;nbsp; Is that what you want?&amp;nbsp; That could be done, but there's also the question of whether you would care at which end the shorter resulting segment falls.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 15:26:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12099837#M345098</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-07-13T15:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12100022#M345099</link>
      <description>&lt;P&gt;Thanks for the quick reply!&lt;/P&gt;&lt;P&gt;Yes exactly, I would like to obtain a specific-length result and I don't really care at which end the shorter segment would be. Could it be possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Silvia&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 16:43:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12100022#M345099</guid>
      <dc:creator>silvia_aldrighetti_1</dc:creator>
      <dc:date>2023-07-13T16:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12100267#M345100</link>
      <description>&lt;P&gt;The attached &lt;STRONG&gt;MeasureBreak.lsp&lt;/STRONG&gt; [a modification/simplification from SubDivide.lsp] with its &lt;STRONG&gt;MB&lt;/STRONG&gt; command seems to do that in limited testing.&amp;nbsp; See the comments at the top of the file.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 18:50:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12100267#M345100</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-07-13T18:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12101391#M345101</link>
      <description>&lt;P&gt;I checked it and it seems to work! Thank you really much for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Silvia&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 09:02:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12101391#M345101</guid>
      <dc:creator>silvia_aldrighetti_1</dc:creator>
      <dc:date>2023-07-14T09:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12216833#M345102</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found an issue with this 3d polyline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this meant to work with 3d polys? I see there's a&amp;nbsp;&lt;EM&gt;*polyline&amp;nbsp;&lt;/EM&gt;in the ssget.&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>Mon, 04 Sep 2023 14:59:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12216833#M345102</guid>
      <dc:creator>90491929</dc:creator>
      <dc:date>2023-09-04T14:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12216983#M345103</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3371325"&gt;@90491929&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... I found an issue with this 3d polyline.&amp;nbsp; Is this meant to work with 3d polys? I see there's a&amp;nbsp;&lt;EM&gt;*polyline&amp;nbsp;&lt;/EM&gt;in the ssget.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What is your "issue"?&amp;nbsp; Assuming you're talking about the &lt;STRONG&gt;SD&lt;/STRONG&gt; command in &lt;STRONG&gt;SubDivide.lsp&lt;/STRONG&gt;, yes, it works with 3D Polylines.&amp;nbsp; See the comment at the top: "Works on anything that Break can be used on...."&amp;nbsp; I just tried it on yours, successfully.&amp;nbsp; [It's planar -- is there some reason for it to be a &lt;EM&gt;3D&lt;/EM&gt; Polyline instead of one of the 2D kinds?]&amp;nbsp; If it doesn't work for you, what happens instead?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The * is a wildcard standing for any character content [including nothing], in this case to allow both LWPOLYLINE and POLYLINE as entity types to be accepted.&amp;nbsp; [POLYLINE covers both 3D and "heavy" 2D varieties.]&amp;nbsp; It could have used just &lt;STRONG&gt;*LINE&lt;/STRONG&gt; to cover LINE, POLYLINE, LWPOLYLINE and SPLINE &lt;EM&gt;all in one entry&lt;/EM&gt;, but that would also allow XLINE and MLINE, which are not allowable [XLINE because they don't have length to divide, and MLINE because BREAK can't work on them].&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 16:36:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12216983#M345103</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-09-04T16:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12226785#M345104</link>
      <description>&lt;P&gt;jumping on this thread as i was looking for something similar.... is there a lisp or command whereby you could set the distance between points along a line, but from the centre? i'll try and explain; if i wanted to set points at 1000mm, the middle 1000 line would be on the centre of the original line and then there would be 2 equal shorter distances at either end of the original line...&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 09:01:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12226785#M345104</guid>
      <dc:creator>CAD7875</dc:creator>
      <dc:date>2023-09-08T09:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12226945#M345105</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2200860"&gt;@CAD7875&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... is there a lisp or command whereby you could set the distance between points along a line, but from the centre? i'll try and explain; if i wanted to set points at 1000mm, the middle 1000 line would be on the centre of the original line and then there would be 2 equal shorter distances at either end of the original line...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Try &lt;STRONG&gt;DivideMeasurePlus.lsp&lt;/STRONG&gt;, &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/measure-command-on-mult-objects/m-p/10163710/highlight/true#M412605" target="_blank" rel="noopener"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&amp;nbsp; Its &lt;STRONG&gt;MEA+&lt;/STRONG&gt; command has an option to center the Points [or Blocks, or Line markers, or selected object(s)] on the path object(s).&amp;nbsp; It does have the one difference that depending on the relationship between spacing and object length, it will sometimes place a Point [or whatever] at the midpoint, rather than have the middle of a segment there.&amp;nbsp; It could probably be modified to always do it as you describe.&amp;nbsp; And it puts things -- it doesn't break the path object into pieces -- but again, it could be modified to do the latter.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 10:17:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12226945#M345105</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-09-08T10:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: break a line   to N numbers of segments</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12227079#M345106</link>
      <description>&lt;P&gt;Works an absolute treat! thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 11:17:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/break-a-line-to-n-numbers-of-segments/m-p/12227079#M345106</guid>
      <dc:creator>CAD7875</dc:creator>
      <dc:date>2023-09-08T11:17:14Z</dc:date>
    </item>
  </channel>
</rss>

