<?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: Help Needed: AutoCAD LISP – Point Numbering with Block Attributes in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-needed-autocad-lisp-point-numbering-with-block-attributes/m-p/13769585#M165923</link>
    <description>&lt;P&gt;Have a look at this makes a block either a square or a circle and numbers them. Just add the "point" at the insertion point. Or use a "X". look at teh way the pline and circle are added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Aug 2025 23:30:24 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2025-08-15T23:30:24Z</dc:date>
    <item>
      <title>Help Needed: AutoCAD LISP – Point Numbering with Block Attributes</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-needed-autocad-lisp-point-numbering-with-block-attributes/m-p/13769072#M165916</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I’ve prepared a LISP with some help, and I need an upgrade. Here’s what the current LISP does:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Takes the vertices of a selected polyline&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Places a &lt;STRONG&gt;point&lt;/STRONG&gt; at each vertex&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Places a &lt;STRONG&gt;number (text)&lt;/STRONG&gt; near each point&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Prompts the user for &lt;STRONG&gt;text height&lt;/STRONG&gt; and &lt;STRONG&gt;text offset&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The problem is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If two vertices are very close, it’s hard to tell which number belongs to which point.&lt;/LI&gt;&lt;LI&gt;I tried converting the point + number into a &lt;STRONG&gt;block with an attribute&lt;/STRONG&gt;, so the number increments automatically for each vertex.&lt;/LI&gt;&lt;LI&gt;I want a solution where &lt;STRONG&gt;selecting the block selects both the point and the number&lt;/STRONG&gt;, making it easy to see which number belongs to which point.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I’ve tried multiple approaches, but I keep running into issues:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Errors when creating the block programmatically&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Attribute numbers not updating correctly&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Blocks appearing larger than expected or containing the polyline itself&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I’m looking for a robust solution where:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The block contains both the point and a number attribute&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The number increments sequentially across all vertices and polylines&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The text offset is customizable&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;A CSV with number, X, Y coordinates is exported&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Has anyone successfully implemented something like this in AutoCAD using LISP? Any tips, example code, or guidance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 04:53:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-needed-autocad-lisp-point-numbering-with-block-attributes/m-p/13769072#M165916</guid>
      <dc:creator>javeed4teen</dc:creator>
      <dc:date>2025-08-16T04:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed: AutoCAD LISP – Point Numbering with Block Attributes</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-needed-autocad-lisp-point-numbering-with-block-attributes/m-p/13769585#M165923</link>
      <description>&lt;P&gt;Have a look at this makes a block either a square or a circle and numbers them. Just add the "point" at the insertion point. Or use a "X". look at teh way the pline and circle are added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 23:30:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-needed-autocad-lisp-point-numbering-with-block-attributes/m-p/13769585#M165923</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-08-15T23:30:24Z</dc:date>
    </item>
  </channel>
</rss>

