<?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 Betreff: what is the excel sytntax to insert a block with attribute in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753773#M67664</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the golden formular is to learn how things working.&lt;/P&gt;
&lt;P&gt;There is not "XL formular" or "XL syntax", you need to know how it must looks like&lt;/P&gt;
&lt;P&gt;when it comes to *,scr file or into autocad commandline.&lt;/P&gt;
&lt;P&gt;Then you can to what you want and how do you want,&lt;/P&gt;
&lt;P&gt;the important thing is: The incoming syntax in AutoCAD have to match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I showed you on sample,&lt;/P&gt;
&lt;P&gt;how it can looks like in Excel, how in *.scr file and one DWG sample to test it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is just one simple rule, a real enter need a real linebreak.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if you have fullversion AutoCAD, create a Lisp-statement as Leeminardi linked to!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "input1" "input2"&amp;nbsp; "input3"&amp;nbsp;"input4" ....)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "_.-INSERT" "DOOR" "_scale" "1" "*0,0,0" "0" "MyAttVal1")&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 16:00:58 GMT</pubDate>
    <dc:creator>cadffm</dc:creator>
    <dc:date>2021-11-12T16:00:58Z</dc:date>
    <item>
      <title>what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747124#M67655</link>
      <description>&lt;P&gt;what is the&amp;nbsp; excel syntax to insert a block with attribute&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 07:02:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747124#M67655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-10T07:02:19Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747159#M67656</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Syntax? Figured out yourself, the Syntax is also depending on&lt;/P&gt;
&lt;P&gt;used options &amp;amp; blockproperties (uniform scale yes/no).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;command: &lt;STRONG&gt;-INSERT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Read about &lt;STRONG&gt;ATTREQ&lt;/STRONG&gt; and &lt;STRONG&gt;ATTDIA&lt;/STRONG&gt; too in your Help &lt;STRONG&gt;[F1]&lt;/STRONG&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-INSERT&lt;/P&gt;
&lt;P&gt;MyBlockname&lt;/P&gt;
&lt;P&gt;..and your options and inputs&lt;/P&gt;
&lt;P&gt;write it down, keystroke for keystroke&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 07:18:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747159#M67656</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-11-10T07:18:31Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747293#M67657</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (22).png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/987950i3920CC95AC4837B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (22).png" alt="Screenshot (22).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 08:22:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747293#M67657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-10T08:22:29Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747314#M67658</link>
      <description>sir kindly give solution&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2021 08:29:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747314#M67658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-10T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747513#M67659</link>
      <description>&lt;P&gt;Sorry, it doesn't make any sense in my opinion.&lt;BR /&gt;I am here to impart knowledge or to help people help themselves.&lt;/P&gt;
&lt;P&gt;I have also already written that "the solution" depends on two things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp; schrieb:&lt;BR /&gt;
&lt;P&gt;the Syntax is also depending on&lt;/P&gt;
&lt;P&gt;used options &amp;amp; blockproperties (uniform scale yes/no).&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;-&lt;/P&gt;
&lt;P&gt;And if you trying to automate these steps, it is also important! How do you want to automate/send this to AutoCAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not a simple thing that is every time and by all ways the same.&lt;/P&gt;
&lt;P&gt;-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So please, as i wrote:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Figured out yourself,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;-INSERT&amp;lt;enter&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;MyBlockname&amp;lt;enter&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;..and your options and inputs&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;write it down, keystroke for keystroke&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Open your Textscreen - so you can see more history lines&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple sample for a non-uniformly block with only one attribut, attreq is on, attdia is off -&amp;gt; [F1]&lt;/P&gt;
&lt;P&gt;-INSERT&lt;/P&gt;
&lt;P&gt;0,0,0&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;P&gt;MyAttVal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&lt;/P&gt;
&lt;P&gt;I can see, you are working in Excel, all in one line.&lt;/P&gt;
&lt;P&gt;Ich you have a vba program which translate this and send the input step by step to AutoCAD, it's ok,&lt;/P&gt;
&lt;P&gt;but you can not send it as one string, you need a real &amp;lt;Enter&amp;gt; to enter the Blockname and attributvalue!&lt;/P&gt;
&lt;P&gt;Enter= linebreak or newline&lt;/P&gt;
&lt;P&gt;Why? Because "Space" chr32 is a valid lcharacter in Blocknames and Attributvalues.&lt;/P&gt;
&lt;P&gt;-&lt;/P&gt;
&lt;P&gt;First question now:&lt;/P&gt;
&lt;P&gt;How are you planning to transfer the commands from Excel to AutoCAD commandline?&lt;/P&gt;
&lt;P&gt;Trying to create a Script by Excel? Or by VBA? Or with an vba program that sendcommand it step by step to ACAD?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inside a Script you need this kind of list (with linebreaks as enter)&lt;/P&gt;
&lt;P&gt;-INSERT MyBlock&lt;/P&gt;
&lt;P&gt;0,0,0 1 1 myattrib1value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;-INSERT MyBlock&lt;/P&gt;
&lt;P&gt;0,0,0&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;myattrib1value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 10:10:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747513#M67659</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-11-10T10:10:50Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747813#M67660</link>
      <description>it is asking new block name&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2021 12:36:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747813#M67660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-10T12:36:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747869#M67661</link>
      <description>&lt;P&gt;Post #9 &lt;A href="https://forums.autodesk.com/t5/autocad-forum/excel-spreadsheet-with-thousands-of-circuit-ref/m-p/8070883#M937024" target="_blank" rel="noopener"&gt;here&lt;/A&gt; may help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 12:58:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747869#M67661</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2021-11-10T12:58:35Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747909#M67662</link>
      <description>&lt;P&gt;We know hwo the program works and acting,&lt;/P&gt;
&lt;P&gt;what we don't know: What you does!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, but "it is asking new block name" is totally useless without to know what you have and did.&lt;/P&gt;
&lt;P&gt;Wen don't know your blockname, your block properties,&lt;/P&gt;
&lt;P&gt;your settings and also not what you send to AutoCAD, and how.&lt;/P&gt;
&lt;P&gt;You doesn't answered my questions..&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take the time, it is a question of days, weeks or month for some users,&lt;/P&gt;
&lt;P&gt;you can not learn all in seconds, but the most important step: Is the first one.&lt;/P&gt;
&lt;P&gt;"sir kindly give solution" - If you don't know what you do, this works just one time&lt;/P&gt;
&lt;P&gt;and with the next problem you ask the same. Not useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attach a sample, i am not sure that it helpful to you, but it is a try.&lt;/P&gt;
&lt;P&gt;Read about the mentioned commands, try it line by line, step by step.&lt;/P&gt;
&lt;P&gt;My sample is not "the solution", it is just one working sample, nothing more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open my DWG and run one of the *.scr files (drag&amp;amp;drop to ACAD or command: SCRIPT)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 13:14:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10747909#M67662</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-11-10T13:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753758#M67663</link>
      <description>&lt;P&gt;i am asking what to xL syntax formula&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 15:49:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753758#M67663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-12T15:49:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753773#M67664</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the golden formular is to learn how things working.&lt;/P&gt;
&lt;P&gt;There is not "XL formular" or "XL syntax", you need to know how it must looks like&lt;/P&gt;
&lt;P&gt;when it comes to *,scr file or into autocad commandline.&lt;/P&gt;
&lt;P&gt;Then you can to what you want and how do you want,&lt;/P&gt;
&lt;P&gt;the important thing is: The incoming syntax in AutoCAD have to match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I showed you on sample,&lt;/P&gt;
&lt;P&gt;how it can looks like in Excel, how in *.scr file and one DWG sample to test it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is just one simple rule, a real enter need a real linebreak.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if you have fullversion AutoCAD, create a Lisp-statement as Leeminardi linked to!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "input1" "input2"&amp;nbsp; "input3"&amp;nbsp;"input4" ....)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "_.-INSERT" "DOOR" "_scale" "1" "*0,0,0" "0" "MyAttVal1")&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 16:00:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753773#M67664</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-11-12T16:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753797#M67665</link>
      <description>&lt;P&gt;Hi Ram,&lt;BR /&gt;I struggle with this too. I always start with &lt;A href="https://forums.autodesk.com/t5/autocad-forum/import-total-station-data-a-problem-with-points/m-p/8535692/highlight/true#M964707" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt;&amp;gt;This Post&amp;lt;&amp;lt;&amp;lt;&lt;/A&gt; from &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/389680"&gt;@Alfred.NESWADBA&lt;/a&gt;.&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 16:12:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753797#M67665</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2021-11-12T16:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: what is the excel sytntax to insert a block with attribute</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753895#M67666</link>
      <description>&lt;P&gt;Place the following (exactly as shown) in cell J2 and fill down.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;=CONCATENATE("(command ",CHAR(34),"-insert",CHAR(34)," ",CHAR(34),I2,CHAR(34)," ",CHAR(34),A2,",",B2,CHAR(34)," ",D2," ",E2," ",G2," ",CHAR(34),H2,CHAR(34)," )")&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/989074i2481D2434E1CB5EB/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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The z scale is not necessary.&lt;/P&gt;&lt;P&gt;Copy cells J2 to J4 to the clipboard then paste to the AutoCAD prompt or save as a .scr file and run in AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 17:07:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/what-is-the-excel-sytntax-to-insert-a-block-with-attribute/m-p/10753895#M67666</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2021-11-12T17:07:36Z</dc:date>
    </item>
  </channel>
</rss>

