<?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: Assign a task to a button in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7354822#M212653</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3324873"&gt;@gotphish001&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;, thank you for your efforts to answer my question. It is what you suggested and additionally I made some extra stuff to solve my problem. Kudoed and accepted as a solution. The rest of my solution is to add in the macro section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;*^C^C_-insert;BlockName;\;;\&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If exploding it is afterwards needed (like in my case, but I realized it after I made the button in the above manner), there is the code that explodes the inserted block, in my case a pre-determined table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;^C^C^P(setvar"ATTREQ" 0) (command "_.INSERT" "*drawing" pause 1.0 0.0)(setvar "ATTREQ" 1)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source for the last one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exploding-blocks-on-insert/m-p/6057810/highlight/true#M339319" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exploding-blocks-on-insert/m-p/6057810/highlight/true#M339319&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2017 13:57:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-05T13:57:33Z</dc:date>
    <item>
      <title>Assign a task to a button</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7342239#M212647</link>
      <description>&lt;P&gt;Hello, Forum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to create a button and even put it among the other buttons on my Autocad, but still I cannot assign a task to it. The button is easy to create:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;type "cui"-&amp;gt;&lt;/P&gt;&lt;P&gt;create new command-&amp;gt;&lt;/P&gt;&lt;P&gt;edit to draw the icon-&amp;gt;&lt;/P&gt;&lt;P&gt;save-&amp;gt;&lt;/P&gt;&lt;P&gt;put the&amp;nbsp;&lt;/P&gt;&lt;P&gt;ok-&amp;gt;&lt;/P&gt;&lt;P&gt;right click on the buttons-&amp;gt;&lt;/P&gt;&lt;P&gt;customize-&amp;gt;&lt;/P&gt;&lt;P&gt;find your button-&amp;gt;&lt;/P&gt;&lt;P&gt;drag and drop it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I assign an activity&amp;nbsp;to my newly created button? If it is needed to mention, I want to make a button that generates a table, so this is the task, that I want to assign to this button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:52:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7342239#M212647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-31T13:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a task to a button</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7342362#M212648</link>
      <description>&lt;P&gt;In the CUI, down below where you edited your button, there is a &lt;STRONG&gt;Macro&lt;/STRONG&gt; property. This is the macro for the TABLE command: "^C^C_table ". "^C" performs a {Cancel} and the space at the end performs and {Enter}.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:20:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7342362#M212648</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2017-08-31T14:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a task to a button</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7342659#M212649</link>
      <description>&lt;P&gt;If it's a &lt;EM&gt;Tool Palette&lt;/EM&gt;&amp;nbsp;&amp;nbsp;button, you can just right-click on the button itself,&amp;nbsp;and pick Properties, where there's a line for macro code.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:47:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7342659#M212649</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-08-31T15:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a task to a button</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7344834#M212650</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14801"&gt;@Ed__Jobe&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;you for your effort to resolve my issue. Your solutions are really helpful, but I didn't express my problem accurately enough. I want to create a specific table, with pre-given cells, rows, and values of the cell.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 11:56:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7344834#M212650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T11:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a task to a button</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7344997#M212651</link>
      <description>&amp;gt;&amp;gt;&amp;gt;...I want to create a specific table, with pre-given cells, rows, and values of the cell....&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Create the table.&lt;BR /&gt;Turn it into a block with BLOCK command, or WBLOCK to an external block.&lt;BR /&gt;Then use INSERT command (followed by EXPLODE) to use in in other files.</description>
      <pubDate>Fri, 01 Sep 2017 12:59:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7344997#M212651</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2017-09-01T12:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a task to a button</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7345465#M212652</link>
      <description>&lt;P&gt;Could you use the manage&amp;gt;record to do all the steps for the table settings to set the table up and then make that macro the button?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Didn't see dean's post until after I posted. You could definitely record a macro that inserted the table block then exploded it. Then you could just set it up so you type the name of the table and it's inserted.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 15:33:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7345465#M212652</guid>
      <dc:creator>gotphish001</dc:creator>
      <dc:date>2017-09-01T15:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a task to a button</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7354822#M212653</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3324873"&gt;@gotphish001&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;, thank you for your efforts to answer my question. It is what you suggested and additionally I made some extra stuff to solve my problem. Kudoed and accepted as a solution. The rest of my solution is to add in the macro section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;*^C^C_-insert;BlockName;\;;\&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If exploding it is afterwards needed (like in my case, but I realized it after I made the button in the above manner), there is the code that explodes the inserted block, in my case a pre-determined table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;^C^C^P(setvar"ATTREQ" 0) (command "_.INSERT" "*drawing" pause 1.0 0.0)(setvar "ATTREQ" 1)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source for the last one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exploding-blocks-on-insert/m-p/6057810/highlight/true#M339319" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exploding-blocks-on-insert/m-p/6057810/highlight/true#M339319&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 13:57:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/assign-a-task-to-a-button/m-p/7354822#M212653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-05T13:57:33Z</dc:date>
    </item>
  </channel>
</rss>

