<?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: AcadLWPolyline to 3dpolyline in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/1291315#M44555</link>
    <description>Laurie,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your response, I think your suggestion of selecting the original &lt;BR /&gt;
lwpoly to get the x,y values and pass those to a polyline array is the way &lt;BR /&gt;
to go.&lt;BR /&gt;
I can add this to the end of the routine instead on rewriting the entire &lt;BR /&gt;
routine. This also will give me the 2d lwpolyline that I want to use for &lt;BR /&gt;
xref into other plans that will be dimensioned.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
as always thank you for your comments. Have a great day.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
John Coon&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Laurie Comerford" &lt;LAURIE&gt; wrote in message &lt;BR /&gt;
news:4810295@discussion.autodesk.com...&lt;BR /&gt;
&amp;gt; Hi Jon,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; AutoCAD has LW Polylines and Polylines.  The one which is drawn from the &lt;BR /&gt;
&amp;gt; PL&lt;BR /&gt;
&amp;gt; command or Draw menu is set by the PLINETYPE system variable.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In code you have to specifically nominate the one you are going to draw.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; The LW polyline is created from a 2D coordinate array such that all even&lt;BR /&gt;
&amp;gt; elements are the X value and all odd elements are the Y value&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; The normal or 3D polyline have a 3D coordinate array such that 0, 3, 6 etc&lt;BR /&gt;
&amp;gt; are the X coordinate, 1, 4, 7 are the Y coordinates and 2,5,8 etc are eth &lt;BR /&gt;
&amp;gt; Z&lt;BR /&gt;
&amp;gt; coordinates.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; You can select a LW polyline, get its coordinates - DIM a new array with &lt;BR /&gt;
&amp;gt; 50%&lt;BR /&gt;
&amp;gt; more elements and populate it with the first data plus your new data for&lt;BR /&gt;
&amp;gt; elevation.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; -- &lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Laurie Comerford&lt;BR /&gt;
&amp;gt; CADApps&lt;BR /&gt;
&amp;gt; www.cadapps.com.au&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "John Coon" &lt;JDCNH&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:4810294@discussion.autodesk.com...&lt;BR /&gt;
&amp;gt;&amp;gt; Hi,&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; I'm looking for direction on how to convert acadlwpolyline to a&lt;BR /&gt;
&amp;gt; 3dpolyline.&lt;BR /&gt;
&amp;gt;&amp;gt; I have a routine that draws a leach field by user dimensions by&lt;BR /&gt;
&amp;gt;&amp;gt;  acadlwpolylines. I now want to change or add to that routine by having&lt;BR /&gt;
&amp;gt; the&lt;BR /&gt;
&amp;gt;&amp;gt; user supply top of field elevation and have it replace or draw a new&lt;BR /&gt;
&amp;gt;&amp;gt; 3dpolyline&lt;BR /&gt;
&amp;gt;&amp;gt; at the same vertices from the  acadlwpolyline with the supplied &lt;BR /&gt;
&amp;gt;&amp;gt; elevation.&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; I want to keep the acadlwpolylines for xref into other subdivision&lt;BR /&gt;
&amp;gt; drawings&lt;BR /&gt;
&amp;gt;&amp;gt; and save the 3dpolylines out for grading later.&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Should I just rework the routine for the 3dpolyline?&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Thanks&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; John Coon&lt;/JDCNH&gt;&lt;/LAURIE&gt;</description>
    <pubDate>Sun, 10 Apr 2005 11:57:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-04-10T11:57:18Z</dc:date>
    <item>
      <title>AcadLWPolyline to 3dpolyline</title>
      <link>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/1291313#M44553</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I'm looking for direction on how to convert acadlwpolyline to a 3dpolyline. &lt;BR /&gt;
I have a routine that draws a leach field by user dimensions by&lt;BR /&gt;
 acadlwpolylines. I now want to change or add to that routine by having the &lt;BR /&gt;
user supply top of field elevation and have it replace or draw a new &lt;BR /&gt;
3dpolyline&lt;BR /&gt;
at the same vertices from the  acadlwpolyline with the supplied elevation.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I want to keep the acadlwpolylines for xref into other subdivision drawings &lt;BR /&gt;
and save the 3dpolylines out for grading later.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Should I just rework the routine for the 3dpolyline?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
John Coon</description>
      <pubDate>Sat, 09 Apr 2005 19:19:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/1291313#M44553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-09T19:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: AcadLWPolyline to 3dpolyline</title>
      <link>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/1291314#M44554</link>
      <description>Hi Jon,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
AutoCAD has LW Polylines and Polylines.  The one which is drawn from the PL&lt;BR /&gt;
command or Draw menu is set by the PLINETYPE system variable.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
In code you have to specifically nominate the one you are going to draw.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The LW polyline is created from a 2D coordinate array such that all even&lt;BR /&gt;
elements are the X value and all odd elements are the Y value&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The normal or 3D polyline have a 3D coordinate array such that 0, 3, 6 etc&lt;BR /&gt;
are the X coordinate, 1, 4, 7 are the Y coordinates and 2,5,8 etc are eth Z&lt;BR /&gt;
coordinates.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You can select a LW polyline, get its coordinates - DIM a new array with 50%&lt;BR /&gt;
more elements and populate it with the first data plus your new data for&lt;BR /&gt;
elevation.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"John Coon" &lt;JDCNH&gt; wrote in message&lt;BR /&gt;
news:4810294@discussion.autodesk.com...&lt;BR /&gt;
&amp;gt; Hi,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I'm looking for direction on how to convert acadlwpolyline to a&lt;BR /&gt;
3dpolyline.&lt;BR /&gt;
&amp;gt; I have a routine that draws a leach field by user dimensions by&lt;BR /&gt;
&amp;gt;  acadlwpolylines. I now want to change or add to that routine by having&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; user supply top of field elevation and have it replace or draw a new&lt;BR /&gt;
&amp;gt; 3dpolyline&lt;BR /&gt;
&amp;gt; at the same vertices from the  acadlwpolyline with the supplied elevation.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I want to keep the acadlwpolylines for xref into other subdivision&lt;BR /&gt;
drawings&lt;BR /&gt;
&amp;gt; and save the 3dpolylines out for grading later.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Should I just rework the routine for the 3dpolyline?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; John Coon&lt;/JDCNH&gt;</description>
      <pubDate>Sat, 09 Apr 2005 20:41:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/1291314#M44554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-09T20:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: AcadLWPolyline to 3dpolyline</title>
      <link>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/1291315#M44555</link>
      <description>Laurie,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your response, I think your suggestion of selecting the original &lt;BR /&gt;
lwpoly to get the x,y values and pass those to a polyline array is the way &lt;BR /&gt;
to go.&lt;BR /&gt;
I can add this to the end of the routine instead on rewriting the entire &lt;BR /&gt;
routine. This also will give me the 2d lwpolyline that I want to use for &lt;BR /&gt;
xref into other plans that will be dimensioned.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
as always thank you for your comments. Have a great day.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
John Coon&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Laurie Comerford" &lt;LAURIE&gt; wrote in message &lt;BR /&gt;
news:4810295@discussion.autodesk.com...&lt;BR /&gt;
&amp;gt; Hi Jon,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; AutoCAD has LW Polylines and Polylines.  The one which is drawn from the &lt;BR /&gt;
&amp;gt; PL&lt;BR /&gt;
&amp;gt; command or Draw menu is set by the PLINETYPE system variable.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In code you have to specifically nominate the one you are going to draw.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; The LW polyline is created from a 2D coordinate array such that all even&lt;BR /&gt;
&amp;gt; elements are the X value and all odd elements are the Y value&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; The normal or 3D polyline have a 3D coordinate array such that 0, 3, 6 etc&lt;BR /&gt;
&amp;gt; are the X coordinate, 1, 4, 7 are the Y coordinates and 2,5,8 etc are eth &lt;BR /&gt;
&amp;gt; Z&lt;BR /&gt;
&amp;gt; coordinates.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; You can select a LW polyline, get its coordinates - DIM a new array with &lt;BR /&gt;
&amp;gt; 50%&lt;BR /&gt;
&amp;gt; more elements and populate it with the first data plus your new data for&lt;BR /&gt;
&amp;gt; elevation.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; -- &lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Laurie Comerford&lt;BR /&gt;
&amp;gt; CADApps&lt;BR /&gt;
&amp;gt; www.cadapps.com.au&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "John Coon" &lt;JDCNH&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:4810294@discussion.autodesk.com...&lt;BR /&gt;
&amp;gt;&amp;gt; Hi,&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; I'm looking for direction on how to convert acadlwpolyline to a&lt;BR /&gt;
&amp;gt; 3dpolyline.&lt;BR /&gt;
&amp;gt;&amp;gt; I have a routine that draws a leach field by user dimensions by&lt;BR /&gt;
&amp;gt;&amp;gt;  acadlwpolylines. I now want to change or add to that routine by having&lt;BR /&gt;
&amp;gt; the&lt;BR /&gt;
&amp;gt;&amp;gt; user supply top of field elevation and have it replace or draw a new&lt;BR /&gt;
&amp;gt;&amp;gt; 3dpolyline&lt;BR /&gt;
&amp;gt;&amp;gt; at the same vertices from the  acadlwpolyline with the supplied &lt;BR /&gt;
&amp;gt;&amp;gt; elevation.&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; I want to keep the acadlwpolylines for xref into other subdivision&lt;BR /&gt;
&amp;gt; drawings&lt;BR /&gt;
&amp;gt;&amp;gt; and save the 3dpolylines out for grading later.&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Should I just rework the routine for the 3dpolyline?&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; Thanks&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt;&lt;BR /&gt;
&amp;gt;&amp;gt; John Coon&lt;/JDCNH&gt;&lt;/LAURIE&gt;</description>
      <pubDate>Sun, 10 Apr 2005 11:57:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/1291315#M44555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-10T11:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: AcadLWPolyline to 3dpolyline</title>
      <link>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/8545417#M44556</link>
      <description>&lt;P&gt;This Video is about creating a macro for extracting coordinates of an AutoCAD Polyline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Topics Discussed are&lt;BR /&gt;1. Extracting Coordinates of Polyline&lt;BR /&gt;2. Extracting length of Polyline&lt;BR /&gt;3. Extracting the number of vertices of a Polyline&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#AutoCADPolyline #ExtractCoordinateInAutoCAD #LengthOfPolyline&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPnzXDfQznqQ&amp;amp;type=text%2Fhtml&amp;amp;schema=google&amp;amp;display_name=YouTube&amp;amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPnzXDfQznqQ" width="200" height="112" scrolling="no" title="YouTube embed" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 06:41:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/acadlwpolyline-to-3dpolyline/m-p/8545417#M44556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-24T06:41:22Z</dc:date>
    </item>
  </channel>
</rss>

