<?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: consulta con respecto a las polilíneas 3d y el comando entget in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304757#M27264</link>
    <description>&lt;P&gt;Read this&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.afralisp.net/autolisp/tutorials/polylines-and-blocks.php" target="_blank" rel="noopener"&gt;https://www.afralisp.net/autolisp/tutorials/polylines-and-blocks.php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to have something simple to get coordinates, use this line&lt;/P&gt;
&lt;P&gt;(progn (vl-load-com) (vlax-get (vlax-ename-&amp;gt;vla-object (car (entsel))) 'Coordinates))&lt;/P&gt;
&lt;P&gt;But result looks like this (x1 y1 z1 x2 y2 z2 ...&amp;nbsp;xn yn zn)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 17:20:19 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2023-10-13T17:20:19Z</dc:date>
    <item>
      <title>consulta con respecto a las polilíneas 3d y el comando entget</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304579#M27262</link>
      <description>&lt;P&gt;En algunos videos que circulan en youtube hacen uso del comando "entget" para acceder a las coordenadas de los vértices de las polilíneas valiéndose el código 10 que brinda el comando pero eso solo funciona en 2d ya que para una polilínea 3d solo muestra el primer punto de la polilínea. Mi consulta es como puedo acceder a las coordenadas de los demás vértices de la polilínea sin tener que usar el comando "ID", es decir, obtener todas las coordenadas como es en el caso de 2d; Usé el comando "list", aunque varias veces me pide presionar enter, pero me interesa más saber como es que se almacenan las coordenadas de los vértices para poder leerlas. Gracias de antemano por sus respuestas.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 15:51:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304579#M27262</guid>
      <dc:creator>xs_xt</dc:creator>
      <dc:date>2023-10-13T15:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: consulta con respecto a las polilíneas 3d y el comando entget</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304742#M27263</link>
      <description>&lt;P&gt;Put a text at each vertex, then use DATAEXRACTION of the text locations.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Do this.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1279086i6E61BD9DF6155507/image-size/large?v=v2&amp;amp;px=999" role="button" title="Do this.JPG" alt="Do this.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 17:04:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304742#M27263</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2023-10-13T17:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: consulta con respecto a las polilíneas 3d y el comando entget</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304757#M27264</link>
      <description>&lt;P&gt;Read this&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.afralisp.net/autolisp/tutorials/polylines-and-blocks.php" target="_blank" rel="noopener"&gt;https://www.afralisp.net/autolisp/tutorials/polylines-and-blocks.php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to have something simple to get coordinates, use this line&lt;/P&gt;
&lt;P&gt;(progn (vl-load-com) (vlax-get (vlax-ename-&amp;gt;vla-object (car (entsel))) 'Coordinates))&lt;/P&gt;
&lt;P&gt;But result looks like this (x1 y1 z1 x2 y2 z2 ...&amp;nbsp;xn yn zn)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 17:20:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304757#M27264</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2023-10-13T17:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: consulta con respecto a las polilíneas 3d y el comando entget</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304883#M27265</link>
      <description>&lt;P&gt;For a 3D Polyline, and also a 2D "heavy" Polyline, the vertices are &lt;EM&gt;their own entities&lt;/EM&gt;&lt;FONT&gt;, not just data entries within the Polyline's entity data [as they are with "lightweight" Polylines]. They have separate entity data lists.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;But you can get the vertex locations, in the way already suggested as a raw list of numbers, not subdivided into sub-lists for each one.&amp;nbsp; Or if&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;"ent"&lt;/FONT&gt;&lt;FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT&gt;is the entity name of the Polyline, or a VLA-object conversion of it, this will give you the starting vertex:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;(vlax-curve-getStartPoint ent)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;or&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#000000"&gt;&lt;STRONG&gt;(vlax-curve-getPointAtParam ent 0)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;And to get subsequent vertices, step up the parameter number -- points at whole-number parameters are locations at the vertices:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;(vlax-curve-getPointAtParam ent 1)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;(vlax-curve-getPointAtParam ent 2)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;....&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 18:05:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12304883#M27265</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-10-13T18:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: consulta con respecto a las polilíneas 3d y el comando entget</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12305140#M27266</link>
      <description>&lt;P&gt;esa línea me basta para lo que necesito por ahora, trataré de entender lo que hace cada orden de esa línea, es diferente a las líneas simples que muestran los videos de youtube. Algún libro o referencia que me recomiendes porfa para poder profundizar más en ello, por ahora estoy en lo básico de la programación en autolisp y quisiera aprender mas sobre ello.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 20:20:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12305140#M27266</guid>
      <dc:creator>xs_xt</dc:creator>
      <dc:date>2023-10-13T20:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: consulta con respecto a las polilíneas 3d y el comando entget</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12307074#M27267</link>
      <description>&lt;P&gt;Well, all it does is... load the visual lisp library, select entity, convert entity name (ename) to vla-object and get its "coordinates" property.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you learn the basics with AutoLisp, you can move to the VisualLisp.&amp;nbsp;&lt;A href="https://forums.autodesk.com/autodesk/attachments/autodesk/130/189347/1/The%20Visual%20LISP%20Developers%20Bible.pdf" target="_blank" rel="noopener"&gt;HERE's &lt;/A&gt;the bible.&lt;/P&gt;
&lt;P&gt;Anyways, probably the best place to start is&amp;nbsp;&lt;A href="https://www.afralisp.net/archive/index.htm" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;. Even the VisualLisp is there, at the end.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 11:12:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/consulta-con-respecto-a-las-polilineas-3d-y-el-comando-entget/m-p/12307074#M27267</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2023-10-15T11:12:22Z</dc:date>
    </item>
  </channel>
</rss>

