<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : Custom command/Macro help</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : CAD - general : Custom command/Macro help]]></description>
  <pubDate>Tue, 07 Apr 2026 07:56:16 +0000</pubDate>
  <lastBuildDate>Tue, 25 Mar 2014 21:05:34 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=10160</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[Custom command/Macro help : Good advice Kent, I&amp;#039;ll take...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26691&amp;title=custom-command-macro-help#26691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=455670">ebrody</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 25.Mar.2014 at 21:05<br /><br />Good advice Kent, I'll take a look into that. For now though, putting that line in the acad21013doc.lsp did indeed work, and it autoloaded it as soon as I fired the command, so I'm happy with that for now. Just got to learn some of the programming syntax for cad commands, and I'm sure ill be rolling along with many-a-custom commands.<div><br></div><div>Thanks for the help!</div>]]>
   </description>
   <pubDate>Tue, 25 Mar 2014 21:05:34 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26691&amp;title=custom-command-macro-help#26691</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : &amp;gt;&amp;gt; Found it under acad2013doc.lsp  I...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26690&amp;title=custom-command-macro-help#26690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=353260">Kent Cooper</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 25.Mar.2014 at 21:02<br /><br />&gt;&gt; Found it under acad2013doc.lsp<DIV>&nbsp;</DIV><DIV>I have an older version here, so maybe it's different now, but I assume there's a header with some information, which you should read carefully.&nbsp; At least in some earlier versions, it is <EM>not</EM> recommended to edit the acad2xxx.lsp file, but there <EM>isn't</EM> an acad2xxx<strong>doc</strong>.lsp file until some later version than mine, so maybe it's okay to edit that.&nbsp; If so, yes, you can just add that line anywhere other than <EM>inside</EM> some other function in it.&nbsp; If it's <EM>not</EM> recommended, and you don't have an acaddoc.lsp file already, you can make one, in some folder that's in your Support File Search Path list, even if it contains only that one (autoload) function -- you'll develop other things you want to put in it.&nbsp; It is run every time a drawing is opened, so things in it are available in all drawings, and maybe that's done with acad2013doc.lsp, too.&nbsp; The&nbsp;issue is that some&nbsp;related files, like the one you probably have <EM>without</EM> the <strong>doc</strong> in its name, may be loaded only once when AutoCAD is started, and <EM>not</EM> with every drawing that's opened, so commands defined in them <EM>won't</EM> necessarily be available in all drawings.&nbsp; So read up on the files and which are loaded when.</DIV>]]>
   </description>
   <pubDate>Tue, 25 Mar 2014 21:02:23 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26690&amp;title=custom-command-macro-help#26690</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : Found it under acad2013doc.lsp...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26688&amp;title=custom-command-macro-help#26688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=455670">ebrody</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 25.Mar.2014 at 20:26<br /><br />Found it under acad2013doc.lsp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<div><br></div><div>So that command can go anywhere in that text, as in right at the bottom?</div>]]>
   </description>
   <pubDate>Tue, 25 Mar 2014 20:26:51 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26688&amp;title=custom-command-macro-help#26688</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : Wwhere is the acaddoc.lsp located?...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26687&amp;title=custom-command-macro-help#26687</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=455670">ebrody</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 25.Mar.2014 at 20:16<br /><br />W<span style="line-height: 1.4;">where is the acaddoc.lsp located?&nbsp;</span>]]>
   </description>
   <pubDate>Tue, 25 Mar 2014 20:16:43 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26687&amp;title=custom-command-macro-help#26687</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : &amp;gt;&amp;gt; How should I import that,...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26680&amp;title=custom-command-macro-help#26680</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=353260">Kent Cooper</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 25.Mar.2014 at 15:33<br /><br />&gt;&gt; How should I import that, can I copy the command from opening it as a text file, or is there a method to straight import it into cad as a custom command? <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Save&nbsp;the file into some folder in your Support File Search Path list in Options.&nbsp; Type APPLOAD &#091;or just AP&#093;, navigate to that location, and load it.</DIV><DIV>&nbsp;</DIV><DIV>If you include this line:</DIV><DIV>&nbsp;</DIV><DIV>(autoload "ByLayer" '("BYce" "BYs" "BYall" "BYevery"))</DIV><DIV>&nbsp;</DIV><DIV>in&nbsp;your <strong>acaddoc.lsp</strong> file, the commands it defines will be <EM>available in any drawing</EM>, though the file itself will not be <EM>loaded</EM> unless and until the User enters one of those command names.</DIV><DIV>&nbsp;</DIV><DIV>You can also make toolbar buttons or other kinds of menu items to&nbsp;invoke the commands.&nbsp; For instance, to return all current-entity settings to the defaults, you could make a toolbar button that contains:</DIV><DIV>&nbsp;</DIV><DIV>^C^CBYce</DIV><span style="font-size:10px"><br /><br />Edited by Kent Cooper - 25.Mar.2014 at 15:36</span>]]>
   </description>
   <pubDate>Tue, 25 Mar 2014 15:33:09 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26680&amp;title=custom-command-macro-help#26680</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : I&amp;#039;m trying to create a command...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26678&amp;title=custom-command-macro-help#26678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=427067">rs_higgins</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 25.Mar.2014 at 14:51<br /><br /><div>I'm trying to create a command that will change THE SELECTED object(s) to ByLayer for Color, Linetype, and Lineweight.</div><div><br></div><br>If I'm reading this right there is a command in AutoCad to do this. "setbylayer" you select the object's you want to change then typ "s" to change the setting if you do not want it all to go to bylayer. answer the next two questions. and your done. <br><br>Or select the objects first and type "setbylayer" hit enter twice this will set every thing you selected to by bylayer.<br><br><br><img src="uploads/427067/Change_To_ByLayer.png" height="350" width="344" border="0" /><br><br><span style="font-size:10px"><br /><br />Edited by rs_higgins - 25.Mar.2014 at 15:08</span>]]>
   </description>
   <pubDate>Tue, 25 Mar 2014 14:51:06 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26678&amp;title=custom-command-macro-help#26678</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : When I just looked at it, when...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26670&amp;title=custom-command-macro-help#26670</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=455670">ebrody</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 24.Mar.2014 at 19:35<br /><br />When I just looked at it, when going to customize the toolbars, the functions are not showing in the command list. Is there a way to show them, or would I need to just make a command through macro that just does the "BYce" for instance?<div><br></div>]]>
   </description>
   <pubDate>Mon, 24 Mar 2014 19:35:12 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26670&amp;title=custom-command-macro-help#26670</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : Ok, so correct me if I am wrong...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26669&amp;title=custom-command-macro-help#26669</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=455670">ebrody</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 24.Mar.2014 at 19:32<br /><br />Ok, so correct me if I am wrong on what I just did here.<br><br>Apploading that .lsp essentially defines a new command within autoCAD?<div><br></div><div>Doing so also loads the command line shortcuts you defined within the .lsp</div><div><br></div><div>So to get this onto a toolbar, I'd just have to manually add it through customization.</div><div><br></div><div>Thanks for the help!</div>]]>
   </description>
   <pubDate>Mon, 24 Mar 2014 19:32:53 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26669&amp;title=custom-command-macro-help#26669</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : Lisp routines are not imported....]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26668&amp;title=custom-command-macro-help#26668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=165260">John Connor</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 24.Mar.2014 at 19:20<br /><br />Lisp routines are not imported.&nbsp; You can use the APPLOAD command to load it or auto-load via the Startup Suite.&nbsp; You could also make it part of you acad.lsp file.<br><br>See this...http://lee-mac.com/runlisp.html<br><span style="font-size:10px"><br /><br />Edited by John Connor - 24.Mar.2014 at 19:21</span>]]>
   </description>
   <pubDate>Mon, 24 Mar 2014 19:20:55 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26668&amp;title=custom-command-macro-help#26668</guid>
  </item> 
  <item>
   <title><![CDATA[Custom command/Macro help : How should I import that, can...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26667&amp;title=custom-command-macro-help#26667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=455670">ebrody</a><br /><strong>Subject:</strong> 10160<br /><strong>Posted:</strong> 24.Mar.2014 at 18:41<br /><br />How should I import that, can I copy the command from opening it as a text file, or is there a method to straight import it into cad as a custom command?]]>
   </description>
   <pubDate>Mon, 24 Mar 2014 18:41:05 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10160&amp;PID=26667&amp;title=custom-command-macro-help#26667</guid>
  </item> 
 </channel>
</rss>