<?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: in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323243#M34622</link>
    <description>If you only want a line segment, then why not use AcDbLine?  It's 3d and&lt;BR /&gt;
goes from 3d start point to 3d end point.&lt;BR /&gt;
&lt;BR /&gt;
If you want a multisegment line that is planar, then you can use&lt;BR /&gt;
AcDbPolyline.  The line must be planar, but the plane can be any plane in 3d&lt;BR /&gt;
space.&lt;BR /&gt;
&lt;BR /&gt;
AcDbPolyline is more efficient in memory usage and in required storage space&lt;BR /&gt;
in a dwg or dxf file.  It is also more efficient in operations done to/with&lt;BR /&gt;
it.  But, if you only need a line segment from start point to end point,&lt;BR /&gt;
then AcDbLine is the most efficient and easiest to use.&lt;BR /&gt;
&lt;BR /&gt;
"Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
news:7A7DD8B8947C41AE2DD39614F4382CA5@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Art,&lt;BR /&gt;
&amp;gt;     Actually I just need one straight line from startPoint to the&lt;BR /&gt;
endPoint,&lt;BR /&gt;
&amp;gt; but it must be in 3DSpace. Can I just use AcDbPolyline and then use&lt;BR /&gt;
&amp;gt; transformation matrix to rotate it to the correct attitude in 3DSpace, I&lt;BR /&gt;
&amp;gt; need to write more code though.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Btw, when AutoDesk says more efficient, do you know what they meant? More&lt;BR /&gt;
&amp;gt; efficient in memory usage, drawing the graphics etc ? I need to consider&lt;BR /&gt;
if&lt;BR /&gt;
&amp;gt; it worths the time to write more code than to just use AcDb3dPolyline&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Joseph&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:9DCF4A7314EBD880CDCDB853612CAB99@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; If you want a non-planar polyline, then AcDb3dPolyline is your only&lt;BR /&gt;
&amp;gt; choice.&lt;BR /&gt;
&amp;gt; &amp;gt; AcDb3dPolyline is the only polyline that can be non-planar.  There is no&lt;BR /&gt;
&amp;gt; &amp;gt; "more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate. Is&lt;BR /&gt;
my&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't&lt;BR /&gt;
need&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is there&lt;BR /&gt;
a&lt;BR /&gt;
&amp;gt; &amp;gt; more&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;&lt;/JOEPODS2001&gt;</description>
    <pubDate>Tue, 12 Aug 2003 11:54:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-08-12T11:54:23Z</dc:date>
    <item>
      <title>Is there LWPolyline in 3D?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323238#M34617</link>
      <description>I want to draw lines with each endpoints defined in 3D Coordinate. Is my&lt;BR /&gt;
option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't need&lt;BR /&gt;
curve fittings stuff etc, with the lines.&lt;BR /&gt;
In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
(LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is there a more&lt;BR /&gt;
efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&lt;BR /&gt;
Joseph</description>
      <pubDate>Tue, 12 Aug 2003 07:41:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323238#M34617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T07:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there LWPolyline in 3D?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323239#M34618</link>
      <description>If you want a non-planar polyline, then AcDb3dPolyline is your only choice.&lt;BR /&gt;
AcDb3dPolyline is the only polyline that can be non-planar.  There is no&lt;BR /&gt;
"more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&lt;BR /&gt;
"Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate. Is my&lt;BR /&gt;
&amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't need&lt;BR /&gt;
&amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is there a&lt;BR /&gt;
more&lt;BR /&gt;
&amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Joseph&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JOEPODS2001&gt;</description>
      <pubDate>Tue, 12 Aug 2003 08:21:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323239#M34618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323240#M34619</link>
      <description>Art,&lt;BR /&gt;
    Actually I just need one straight line from startPoint to the endPoint,&lt;BR /&gt;
but it must be in 3DSpace. Can I just use AcDbPolyline and then use&lt;BR /&gt;
transformation matrix to rotate it to the correct attitude in 3DSpace, I&lt;BR /&gt;
need to write more code though.&lt;BR /&gt;
&lt;BR /&gt;
Btw, when AutoDesk says more efficient, do you know what they meant? More&lt;BR /&gt;
efficient in memory usage, drawing the graphics etc ? I need to consider if&lt;BR /&gt;
it worths the time to write more code than to just use AcDb3dPolyline&lt;BR /&gt;
&lt;BR /&gt;
Joseph&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
news:9DCF4A7314EBD880CDCDB853612CAB99@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; If you want a non-planar polyline, then AcDb3dPolyline is your only&lt;BR /&gt;
choice.&lt;BR /&gt;
&amp;gt; AcDb3dPolyline is the only polyline that can be non-planar.  There is no&lt;BR /&gt;
&amp;gt; "more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate. Is my&lt;BR /&gt;
&amp;gt; &amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't need&lt;BR /&gt;
&amp;gt; &amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; &amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; &amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is there a&lt;BR /&gt;
&amp;gt; more&lt;BR /&gt;
&amp;gt; &amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;</description>
      <pubDate>Tue, 12 Aug 2003 09:13:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323240#M34619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323241#M34620</link>
      <description>how about AcDbLine then?&lt;BR /&gt;
&lt;BR /&gt;
"Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
news:7A7DD8B8947C41AE2DD39614F4382CA5@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Art,&lt;BR /&gt;
&amp;gt;     Actually I just need one straight line from startPoint to the&lt;BR /&gt;
endPoint,&lt;BR /&gt;
&amp;gt; but it must be in 3DSpace. Can I just use AcDbPolyline and then use&lt;BR /&gt;
&amp;gt; transformation matrix to rotate it to the correct attitude in 3DSpace, I&lt;BR /&gt;
&amp;gt; need to write more code though.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Btw, when AutoDesk says more efficient, do you know what they meant? More&lt;BR /&gt;
&amp;gt; efficient in memory usage, drawing the graphics etc ? I need to consider&lt;BR /&gt;
if&lt;BR /&gt;
&amp;gt; it worths the time to write more code than to just use AcDb3dPolyline&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Joseph&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:9DCF4A7314EBD880CDCDB853612CAB99@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; If you want a non-planar polyline, then AcDb3dPolyline is your only&lt;BR /&gt;
&amp;gt; choice.&lt;BR /&gt;
&amp;gt; &amp;gt; AcDb3dPolyline is the only polyline that can be non-planar.  There is no&lt;BR /&gt;
&amp;gt; &amp;gt; "more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate. Is&lt;BR /&gt;
my&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't&lt;BR /&gt;
need&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is there&lt;BR /&gt;
a&lt;BR /&gt;
&amp;gt; &amp;gt; more&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
---&lt;BR /&gt;
Outgoing mail is certified Virus Free.&lt;BR /&gt;
Checked by AVG anti-virus system (http://www.grisoft.com).&lt;BR /&gt;
Version: 6.0.507 / Virus Database: 304 - Release Date: 19/07/2003&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;&lt;/JOEPODS2001&gt;</description>
      <pubDate>Tue, 12 Aug 2003 09:29:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323241#M34620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T09:29:27Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323242#M34621</link>
      <description>Joseph,&lt;BR /&gt;
&lt;BR /&gt;
Polyline will prevent you to store redundant points when you need to draw&lt;BR /&gt;
line connected segments. This will speed up several AutoCAD features and&lt;BR /&gt;
save DWG store space.&lt;BR /&gt;
&lt;BR /&gt;
For instance, if you need 4 segments:&lt;BR /&gt;
AcDbLine: 4 X 2 points = 8 points&lt;BR /&gt;
AcDbPolyline: 1+1+1+1+1 = 5 points&lt;BR /&gt;
&lt;BR /&gt;
For 10 segments:&lt;BR /&gt;
AcDbLine: 10 X 2 points = 20 points&lt;BR /&gt;
AcDbPolyline: (n+1) = 10+1 = 11 points&lt;BR /&gt;
&lt;BR /&gt;
For 100 segments:&lt;BR /&gt;
AcDbLine: 100 X 2 points = 200 points&lt;BR /&gt;
AcDbPolyline: (n+1) = 100+1 = 101 points&lt;BR /&gt;
&lt;BR /&gt;
So, if your number of segments is too small there is no big deal to use&lt;BR /&gt;
polylines instead of lines (in your case where you will not need to curve,&lt;BR /&gt;
fit, etc.).&lt;BR /&gt;
If the number of segments will be huge, so the advantage is really great and&lt;BR /&gt;
you should use polylines.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Fernando.&lt;BR /&gt;
&lt;BR /&gt;
"Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
news:7A7DD8B8947C41AE2DD39614F4382CA5@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Art,&lt;BR /&gt;
&amp;gt;     Actually I just need one straight line from startPoint to the&lt;BR /&gt;
endPoint,&lt;BR /&gt;
&amp;gt; but it must be in 3DSpace. Can I just use AcDbPolyline and then use&lt;BR /&gt;
&amp;gt; transformation matrix to rotate it to the correct attitude in 3DSpace, I&lt;BR /&gt;
&amp;gt; need to write more code though.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Btw, when AutoDesk says more efficient, do you know what they meant? More&lt;BR /&gt;
&amp;gt; efficient in memory usage, drawing the graphics etc ? I need to consider&lt;BR /&gt;
if&lt;BR /&gt;
&amp;gt; it worths the time to write more code than to just use AcDb3dPolyline&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Joseph&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:9DCF4A7314EBD880CDCDB853612CAB99@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; If you want a non-planar polyline, then AcDb3dPolyline is your only&lt;BR /&gt;
&amp;gt; choice.&lt;BR /&gt;
&amp;gt; &amp;gt; AcDb3dPolyline is the only polyline that can be non-planar.  There is no&lt;BR /&gt;
&amp;gt; &amp;gt; "more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate. Is&lt;BR /&gt;
my&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't&lt;BR /&gt;
need&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is there&lt;BR /&gt;
a&lt;BR /&gt;
&amp;gt; &amp;gt; more&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;&lt;/JOEPODS2001&gt;</description>
      <pubDate>Tue, 12 Aug 2003 09:35:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323242#M34621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T09:35:58Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323243#M34622</link>
      <description>If you only want a line segment, then why not use AcDbLine?  It's 3d and&lt;BR /&gt;
goes from 3d start point to 3d end point.&lt;BR /&gt;
&lt;BR /&gt;
If you want a multisegment line that is planar, then you can use&lt;BR /&gt;
AcDbPolyline.  The line must be planar, but the plane can be any plane in 3d&lt;BR /&gt;
space.&lt;BR /&gt;
&lt;BR /&gt;
AcDbPolyline is more efficient in memory usage and in required storage space&lt;BR /&gt;
in a dwg or dxf file.  It is also more efficient in operations done to/with&lt;BR /&gt;
it.  But, if you only need a line segment from start point to end point,&lt;BR /&gt;
then AcDbLine is the most efficient and easiest to use.&lt;BR /&gt;
&lt;BR /&gt;
"Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
news:7A7DD8B8947C41AE2DD39614F4382CA5@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Art,&lt;BR /&gt;
&amp;gt;     Actually I just need one straight line from startPoint to the&lt;BR /&gt;
endPoint,&lt;BR /&gt;
&amp;gt; but it must be in 3DSpace. Can I just use AcDbPolyline and then use&lt;BR /&gt;
&amp;gt; transformation matrix to rotate it to the correct attitude in 3DSpace, I&lt;BR /&gt;
&amp;gt; need to write more code though.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Btw, when AutoDesk says more efficient, do you know what they meant? More&lt;BR /&gt;
&amp;gt; efficient in memory usage, drawing the graphics etc ? I need to consider&lt;BR /&gt;
if&lt;BR /&gt;
&amp;gt; it worths the time to write more code than to just use AcDb3dPolyline&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Joseph&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:9DCF4A7314EBD880CDCDB853612CAB99@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; If you want a non-planar polyline, then AcDb3dPolyline is your only&lt;BR /&gt;
&amp;gt; choice.&lt;BR /&gt;
&amp;gt; &amp;gt; AcDb3dPolyline is the only polyline that can be non-planar.  There is no&lt;BR /&gt;
&amp;gt; &amp;gt; "more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate. Is&lt;BR /&gt;
my&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't&lt;BR /&gt;
need&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is there&lt;BR /&gt;
a&lt;BR /&gt;
&amp;gt; &amp;gt; more&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;&lt;/JOEPODS2001&gt;</description>
      <pubDate>Tue, 12 Aug 2003 11:54:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323243#M34622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T11:54:23Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323244#M34623</link>
      <description>But, individual AcDbLines can be more efficient for graphics because any&lt;BR /&gt;
lines that are not in the current display can be ignored high up in our&lt;BR /&gt;
graphics system, whereas a single polyline must have all of it's segments&lt;BR /&gt;
considered until you get very deep down into the graphics pipeline.&lt;BR /&gt;
&lt;BR /&gt;
So, there are many issues to consider when deciding which way to go for&lt;BR /&gt;
performance reasons.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
"Fernando P. Malard" &lt;FPMALARD&gt; wrote in message&lt;BR /&gt;
news:060047256189C34CCA7C068FF63EF8AC@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Joseph,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Polyline will prevent you to store redundant points when you need to draw&lt;BR /&gt;
&amp;gt; line connected segments. This will speed up several AutoCAD features and&lt;BR /&gt;
&amp;gt; save DWG store space.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For instance, if you need 4 segments:&lt;BR /&gt;
&amp;gt; AcDbLine: 4 X 2 points = 8 points&lt;BR /&gt;
&amp;gt; AcDbPolyline: 1+1+1+1+1 = 5 points&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For 10 segments:&lt;BR /&gt;
&amp;gt; AcDbLine: 10 X 2 points = 20 points&lt;BR /&gt;
&amp;gt; AcDbPolyline: (n+1) = 10+1 = 11 points&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For 100 segments:&lt;BR /&gt;
&amp;gt; AcDbLine: 100 X 2 points = 200 points&lt;BR /&gt;
&amp;gt; AcDbPolyline: (n+1) = 100+1 = 101 points&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; So, if your number of segments is too small there is no big deal to use&lt;BR /&gt;
&amp;gt; polylines instead of lines (in your case where you will not need to curve,&lt;BR /&gt;
&amp;gt; fit, etc.).&lt;BR /&gt;
&amp;gt; If the number of segments will be huge, so the advantage is really great&lt;BR /&gt;
and&lt;BR /&gt;
&amp;gt; you should use polylines.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Regards,&lt;BR /&gt;
&amp;gt; Fernando.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:7A7DD8B8947C41AE2DD39614F4382CA5@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Art,&lt;BR /&gt;
&amp;gt; &amp;gt;     Actually I just need one straight line from startPoint to the&lt;BR /&gt;
&amp;gt; endPoint,&lt;BR /&gt;
&amp;gt; &amp;gt; but it must be in 3DSpace. Can I just use AcDbPolyline and then use&lt;BR /&gt;
&amp;gt; &amp;gt; transformation matrix to rotate it to the correct attitude in 3DSpace, I&lt;BR /&gt;
&amp;gt; &amp;gt; need to write more code though.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Btw, when AutoDesk says more efficient, do you know what they meant?&lt;BR /&gt;
More&lt;BR /&gt;
&amp;gt; &amp;gt; efficient in memory usage, drawing the graphics etc ? I need to consider&lt;BR /&gt;
&amp;gt; if&lt;BR /&gt;
&amp;gt; &amp;gt; it worths the time to write more code than to just use AcDb3dPolyline&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:9DCF4A7314EBD880CDCDB853612CAB99@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; If you want a non-planar polyline, then AcDb3dPolyline is your only&lt;BR /&gt;
&amp;gt; &amp;gt; choice.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; AcDb3dPolyline is the only polyline that can be non-planar.  There is&lt;BR /&gt;
no&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; "more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate.&lt;BR /&gt;
Is&lt;BR /&gt;
&amp;gt; my&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't&lt;BR /&gt;
&amp;gt; need&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is&lt;BR /&gt;
there&lt;BR /&gt;
&amp;gt; a&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; more&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;&lt;/JOEPODS2001&gt;&lt;/FPMALARD&gt;</description>
      <pubDate>Tue, 12 Aug 2003 11:57:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323244#M34623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T11:57:55Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323245#M34624</link>
      <description>I'm going to use AcDbLine.&lt;BR /&gt;
Thanx for all the help, guys. All the explanations are extremely helpful. I&lt;BR /&gt;
know how and when PolyLine is more efficient than AcDbLine.&lt;BR /&gt;
&lt;BR /&gt;
Joseph&lt;BR /&gt;
&lt;BR /&gt;
"Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
news:5AEA6FF2B7BE4FF58F75FF8BEB5F18E9@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; If you only want a line segment, then why not use AcDbLine?  It's 3d and&lt;BR /&gt;
&amp;gt; goes from 3d start point to 3d end point.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; If you want a multisegment line that is planar, then you can use&lt;BR /&gt;
&amp;gt; AcDbPolyline.  The line must be planar, but the plane can be any plane in&lt;BR /&gt;
3d&lt;BR /&gt;
&amp;gt; space.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; AcDbPolyline is more efficient in memory usage and in required storage&lt;BR /&gt;
space&lt;BR /&gt;
&amp;gt; in a dwg or dxf file.  It is also more efficient in operations done&lt;BR /&gt;
to/with&lt;BR /&gt;
&amp;gt; it.  But, if you only need a line segment from start point to end point,&lt;BR /&gt;
&amp;gt; then AcDbLine is the most efficient and easiest to use.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:7A7DD8B8947C41AE2DD39614F4382CA5@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Art,&lt;BR /&gt;
&amp;gt; &amp;gt;     Actually I just need one straight line from startPoint to the&lt;BR /&gt;
&amp;gt; endPoint,&lt;BR /&gt;
&amp;gt; &amp;gt; but it must be in 3DSpace. Can I just use AcDbPolyline and then use&lt;BR /&gt;
&amp;gt; &amp;gt; transformation matrix to rotate it to the correct attitude in 3DSpace, I&lt;BR /&gt;
&amp;gt; &amp;gt; need to write more code though.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Btw, when AutoDesk says more efficient, do you know what they meant?&lt;BR /&gt;
More&lt;BR /&gt;
&amp;gt; &amp;gt; efficient in memory usage, drawing the graphics etc ? I need to consider&lt;BR /&gt;
&amp;gt; if&lt;BR /&gt;
&amp;gt; &amp;gt; it worths the time to write more code than to just use AcDb3dPolyline&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Art Cooney" &lt;ARTC&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:9DCF4A7314EBD880CDCDB853612CAB99@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; If you want a non-planar polyline, then AcDb3dPolyline is your only&lt;BR /&gt;
&amp;gt; &amp;gt; choice.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; AcDb3dPolyline is the only polyline that can be non-planar.  There is&lt;BR /&gt;
no&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; "more efficient cousin" for AcDb3dPolyline.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; "Joseph Pods" &lt;JOEPODS2001&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; news:6EBC18EBFFE2B8BA26F455A4100D44E8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I want to draw lines with each endpoints defined in 3D Coordinate.&lt;BR /&gt;
Is&lt;BR /&gt;
&amp;gt; my&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; option only AcDb3dPolyline? I do NOT need to do fancy stuff, don't&lt;BR /&gt;
&amp;gt; need&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; curve fittings stuff etc, with the lines.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; In ObjectArx help, it is stated (not exact words) that AcDbPolyline&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; (LWPolyline) is the more efficient cousin of AcDb2dPolyline. Is&lt;BR /&gt;
there&lt;BR /&gt;
&amp;gt; a&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; more&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; efficient cousin of AcDb3dPolyline?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Joseph&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;&lt;/JOEPODS2001&gt;&lt;/ARTC&gt;</description>
      <pubDate>Tue, 12 Aug 2003 14:53:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-lwpolyline-in-3d/m-p/323245#M34624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-12T14:53:08Z</dc:date>
    </item>
  </channel>
</rss>

