<?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: Auto-Generating Control One Lines in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10446932#M75132</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11064983"&gt;@gmitera&lt;/a&gt;&amp;nbsp;Attached is a VBA Macro enabled Excel file that includes a program to create an AutoCAD script file that can be used to create part of your drawing from data contained in an Excel file.&amp;nbsp; I concentrated on placing text in approximately the correct locations.&amp;nbsp; The program is a work-in-progress and can be enhanced to add additional geometry.&amp;nbsp; I thought I would share this version with you so you could assess whether this has potential for developing further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open the Excel file and click the "Create Script File" button.&amp;nbsp; Add additional rows of data as you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 876px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/938086i483710EFF4E7897D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The user interface could be more friendly but this is a start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 14:16:37 GMT</pubDate>
    <dc:creator>leeminardi</dc:creator>
    <dc:date>2021-07-06T14:16:37Z</dc:date>
    <item>
      <title>Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10436731#M75123</link>
      <description>&lt;P&gt;The team I'm a part of creates TONS of these very simple one line diagrams. No built-in information, just the linework.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="typical one line.PNG" style="width: 346px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/936764i7777344FD624491F/image-size/large?v=v2&amp;amp;px=999" role="button" title="typical one line.PNG" alt="typical one line.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Some of these can have 50 or more devices connected to a single panel. We're wondering if there's any way we could automate this process using a spreadsheet. The goal is to be able to list each device's tag, description, and type of wiring in a spreadsheet and then have it autogenerate a diagram like this. We'd really like to be able to specify whether each device branches off of another one. The closest I've come is using an action macro to generate a generic diagram and stop for user input for each text item. This, however, isn't much faster than just copy-pasting things I've got no idea how to reference the data from Excel, and I &lt;EM&gt;really&lt;/EM&gt; have no idea how we could dynamically deal with the branching. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 19:54:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10436731#M75123</guid>
      <dc:creator>gmitera</dc:creator>
      <dc:date>2021-07-01T19:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10437090#M75124</link>
      <description>&lt;P&gt;I *think* AutoCAD Electrical can do what you want? I haven't used it in years but I have a feeling it has something like that. I could be wrong, but looking at what you do, AutoCAD Electrical might be a good fit.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 23:12:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10437090#M75124</guid>
      <dc:creator>Tomislav.Golubovic</dc:creator>
      <dc:date>2021-07-01T23:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438281#M75125</link>
      <description>&lt;P&gt;The simple answer is yes, Excel could be used to create an AutoCAD script file to complete the drawing. It would help to see a few examples of possible drawings.&amp;nbsp; For example, what would a drawing with 50 devices look like (along with the corresponding Excel file)? Would the "JB" block be stretched to accommodate 51 lines coming into it?&amp;nbsp; The script would be run in a file that has the lines and components that are common to any configuration.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:53:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438281#M75125</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2021-07-02T10:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438778#M75126</link>
      <description>&lt;P&gt;The problem I'm running into with circuit builder is that it's almost too heavy duty for what we're doing. Simple linework only, in this very specific style.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 14:20:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438778#M75126</guid>
      <dc:creator>gmitera</dc:creator>
      <dc:date>2021-07-02T14:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438792#M75127</link>
      <description>&lt;P&gt;Here would be an example of a larger diagram. The most I've seen for branches is 4 or 5.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 14:25:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438792#M75127</guid>
      <dc:creator>gmitera</dc:creator>
      <dc:date>2021-07-02T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438966#M75128</link>
      <description>&lt;P&gt;Perhaps a good place to start would be to create a script that would generate the text that's inside the red box from an Excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you post the Excel file that you would see generating this text and the AutoCAD drawing that would result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 15:25:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10438966#M75128</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2021-07-02T15:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10439048#M75129</link>
      <description>&lt;P&gt;For a diagram like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/937126i84F8D44735C24F41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We'd like to start with something like this in Excel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AUTODESK FORUMS EXCEL.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/937127i91DD4327690EC840/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AUTODESK FORUMS EXCEL.PNG" alt="AUTODESK FORUMS EXCEL.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks to everyone!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 15:48:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10439048#M75129</guid>
      <dc:creator>gmitera</dc:creator>
      <dc:date>2021-07-02T15:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10439280#M75130</link>
      <description>&lt;P&gt;Can you post the Excel and AutoCAD &lt;U&gt;files&lt;/U&gt; not just an image?&amp;nbsp; I'd like to experiment with them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 17:20:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10439280#M75130</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2021-07-02T17:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10439401#M75131</link>
      <description>&lt;P&gt;Here you go. I really appreciate you taking the time to look this deep into this!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 18:17:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10439401#M75131</guid>
      <dc:creator>gmitera</dc:creator>
      <dc:date>2021-07-02T18:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10446932#M75132</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11064983"&gt;@gmitera&lt;/a&gt;&amp;nbsp;Attached is a VBA Macro enabled Excel file that includes a program to create an AutoCAD script file that can be used to create part of your drawing from data contained in an Excel file.&amp;nbsp; I concentrated on placing text in approximately the correct locations.&amp;nbsp; The program is a work-in-progress and can be enhanced to add additional geometry.&amp;nbsp; I thought I would share this version with you so you could assess whether this has potential for developing further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open the Excel file and click the "Create Script File" button.&amp;nbsp; Add additional rows of data as you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 876px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/938086i483710EFF4E7897D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The user interface could be more friendly but this is a start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 14:16:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10446932#M75132</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2021-07-06T14:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10449828#M75133</link>
      <description>&lt;P&gt;This is awesome. A few tweaks and it'll be perfect. THANK YOU!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 13:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10449828#M75133</guid>
      <dc:creator>gmitera</dc:creator>
      <dc:date>2021-07-07T13:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10453184#M75134</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11064983"&gt;@gmitera&lt;/a&gt;&amp;nbsp;You're welcome.&amp;nbsp; I hope you find the program helpful.&amp;nbsp; I would have liked to clean up the user interface&amp;nbsp; and some of the line creation&amp;nbsp; functions a bit before posting the file but had to turn my attention to other matters.&lt;/P&gt;&lt;P&gt;Let me know if you have any questions o would like to add other features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 15:37:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10453184#M75134</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2021-07-08T15:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Generating Control One Lines</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10455752#M75135</link>
      <description>&lt;P&gt;Honestly, a less involved UI is going to suit us better. I haven't had a chance to dive into the VBA macro yet, but as of right now the code only seems to place boxes around VFDs. I'm planning on jumping in and working on it a little bit, but as the creator do you have any high level suggestions for me?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 13:28:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/auto-generating-control-one-lines/m-p/10455752#M75135</guid>
      <dc:creator>gmitera</dc:creator>
      <dc:date>2021-07-09T13:28:39Z</dc:date>
    </item>
  </channel>
</rss>

