<?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: Share Your Favorite usefull LISP files in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/12949928#M103619</link>
    <description>&lt;P&gt;Here's a base file I've made to help test lisps as you create them. It reloads itself with command "RLL", so that you don't have to go through the AppLoad menu every time you make a small change. Just paste in the lisp you're currently testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll have to insert this file's file path into its code, if that makes sense. You also have to double every backslash within the path b/c of the programming language itself. There are notes and an example in the file. The example is even formatted like a typical Downloads folder path to make it really similar to a path on your own PC.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2024 18:27:46 GMT</pubDate>
    <dc:creator>ryanYF2FK</dc:creator>
    <dc:date>2024-08-09T18:27:46Z</dc:date>
    <item>
      <title>Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8065941#M103589</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/dynamic-blocks/dynamic-blocks-showcase-share-your-favorite-dynamic-blocks/td-p/7380679" target="_blank"&gt;Share Your Favorite Lisp files and Custom&lt;/A&gt;ization to helpful others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 16:40:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8065941#M103589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-13T16:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8068065#M103590</link>
      <description>&lt;P&gt;I understand your intentions, i think, but for lisp it's not as easy as with dynamic blocks.&lt;/P&gt;&lt;P&gt;Most of my (own) favorite lisps are "drawing/situation dependant" and not "general purpose".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mostly because it takes at least 3x as much code &amp;amp; time to write to make it general purpose without adding anything for my personal (or companies) needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually it takes a few years of switching clients before anything i write has become general purpose (as i adjust what i have to the new situation/client, retaining the old situation, a point comes where it fits/handles all situations).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, as for my (&amp;amp; prety much any LISP programmer)&amp;nbsp;favorite LISP files in general:&lt;/P&gt;&lt;P&gt;I'd say, &lt;A href="http://www.lee-mac.com/programs.html" target="_blank"&gt;anything Lee Mac ever wrote (&amp;amp; shared)&lt;/A&gt; &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://forums.autodesk.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 12:09:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8068065#M103590</guid>
      <dc:creator>roland.r71</dc:creator>
      <dc:date>2018-06-14T12:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8068631#M103591</link>
      <description>&lt;P&gt;Many of us do that all the time, right here.&amp;nbsp; We even try not to delay the people at the drive-thru window.&lt;/P&gt;&lt;P&gt;I think&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; gives away more than anyone.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 15:33:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8068631#M103591</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2018-06-14T15:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071104#M103592</link>
      <description>&lt;P&gt;I agree with &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4682962"&gt;@roland.r71&lt;/a&gt;&amp;nbsp;that what will be most useful to anyone will be dependent on their circumstances.&amp;nbsp; And they're more likely to find what they need by Searching for terms related to the need, rather than in some kind of generic collection such as here.&amp;nbsp; But in case someone might find something they can use in this thread, here are some of mine that I personally use most often [thanks for the plug, &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;!]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;MakeMore.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;MM&lt;/STRONG&gt;&lt;/FONT&gt; command is&amp;nbsp;similar to&amp;nbsp;AutoCAD's ADDSELECTED command, but it "knows more" about what you select in&amp;nbsp;many situations [for example, if you pick on a Polyline that's &lt;EM&gt;rectangular&lt;/EM&gt;, ADDSELECTED only sees that it's a Polyline, and starts a basic PLINE command, but MM &lt;EM&gt;recognizes it as a rectangle&lt;/EM&gt;, and offers the RECTANG command as a default, while also offering &lt;EM&gt;options&lt;/EM&gt;&amp;nbsp; for the various other commands that make Polylines].&amp;nbsp; And if any of the properties of what you pick are overrides, not ByLayer or other defaults [such as a linetype scale other than 1], it makes those properties current but warns you to reset them, and has a &lt;FONT color="#000000"&gt;&lt;STRONG&gt;MMR&lt;/STRONG&gt;&lt;/FONT&gt; command [= &lt;FONT color="#000000"&gt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;/FONT&gt;ake&lt;FONT color="#000000"&gt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;/FONT&gt;ore &lt;FONT color="#000000"&gt;&lt;STRONG&gt;R&lt;/STRONG&gt;&lt;/FONT&gt;eset] to reset them for you.&amp;nbsp; [It doesn't reset them automatically, in case you want to draw &lt;EM&gt;more than one&lt;/EM&gt;&amp;nbsp; of whatever new thing you're drawing.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;PolylineContinue.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;PLC&lt;/STRONG&gt;&lt;/FONT&gt; command lets you carry on from the nearer end of any Polyline/Line/Arc that you select, as though you were at that point in the middle of a PLINE command, and if what you picked was a Line or Arc, it converts it to a Polyline joined to the continuation that you draw, and if you go into arc mode, it knows the tangent-continuation direction off the end of what you selected, and if you Close, it closes back to the other end of what you selected, not to the point where you picked up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;DivideMeasurePlus.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;DIV+&lt;/STRONG&gt;&lt;/FONT&gt; amd &lt;FONT color="#000000"&gt;&lt;STRONG&gt;MEA+&lt;/STRONG&gt;&lt;/FONT&gt; commands has "super-charged" versions enhancing what ordinary DIVIDE and MEASURE can do.&amp;nbsp;&amp;nbsp;They&amp;nbsp;have options for&amp;nbsp;User selection of objects or Line markers [not just Points or Blocks], and/or to put whatever it is at both ends of the path object in DIV+ or at the start in MEA+, various options about spacing [such as to put things&amp;nbsp;at the mid-points of the divisions rather than at the division points, inset the ends in DIV+, and more], more choices about rotation, a Maximum-spacing option in DIV+ [it will figure out how many are needed], etc. [see the top of the file].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... and I can attach only 3 -- more later, perhaps....&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 14:21:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071104#M103592</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-15T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071168#M103593</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;more later, perhaps....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Some more:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;ConstLines.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;RX&lt;/STRONG&gt;&lt;/FONT&gt; command [= &lt;FONT color="#000000"&gt;&lt;STRONG&gt;R&lt;/STRONG&gt;&lt;/FONT&gt;ays/&lt;FONT color="#000000"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;lines] puts you in a non-plotting layout Layer, and within one running of it, you can switch back and forth between Rays and Xlines, and among various typical pre-set directions and free direction, and place as many such things as you want, and when you're done it returns you to the Layer you were in before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;ReportSlope.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;RS&lt;/STRONG&gt;&lt;/FONT&gt; command tells you the absolute slope relative to horizontal of virtually any straight thing you pick on [including nested things], regardless of its drawn direction, reporting in multiple formats [degrees, radians, percentage, X-in-12, 1-in-X], so you can find out, for example:&amp;nbsp; is this slope in a site section shallow enough to be&amp;nbsp;"sidewalk"-type, or is it steep enough that is has to be considered a "ramp" with handrails?&amp;nbsp; what's the pitch of the roof in this wall section or building elevation?&amp;nbsp; is this&amp;nbsp;[whatever] truly orthogonal or is it off a little?&amp;nbsp; etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;DimExtLineToggle.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;DET&lt;/STRONG&gt;&lt;/FONT&gt; command toggles the on/off [suppression] state of the extension line of a Dimension that's closer to where you pick on the Dimension.&amp;nbsp; [I use it, for example,&amp;nbsp;to turn off extension lines that write over the gaps in grid centerlines.]&amp;nbsp; You can pick on the extension line itself if it's on, or on the dimension line or arrowhead nearer that end, or even on the text part.&amp;nbsp; You don't need to know whether the one in question is #1 or #2, as you would to make the same change in the Properties palette.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 14:41:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071168#M103593</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-15T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071221#M103594</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;more later, perhaps....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And a few more:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Bisector.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;BI&lt;/STRONG&gt;&lt;/FONT&gt; command draws an Xline between virtually any two straight things you select [including nested ones], bisecting either the &lt;EM&gt;angle&lt;/EM&gt;&amp;nbsp; between them if they're &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp; parallel, or the &lt;EM&gt;spacing&lt;/EM&gt;&amp;nbsp; between them if they &lt;EM&gt;are&lt;/EM&gt;&amp;nbsp; parallel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;FilletZero.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;FZ&lt;/STRONG&gt;&lt;/FONT&gt; command goes into Filleting at zero radius and in multiple mode [as many as you want], for "cleaning up corners," and afterwards restores whatever the current Fillet radius was when you started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;InsulBattPoly.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;IB&lt;/STRONG&gt;&lt;/FONT&gt; command draws S-curve-squiggle batt insulation as a Polyline.&amp;nbsp; You can either put it along a "path" object already drawn, or establish the path from inside the command, and you can either retain or delete the path.&amp;nbsp; The path can be anything with linearity [Line, Arc, Circle, Polyline of any type, Ellipse, Spline], and if it's not straight, the widths of the S-curves are adjusted to meet without overlaps or gaps such as you get with AutoCAD's Batting linetype [and the curvature is much nicer than with that].&amp;nbsp; The result can be Left-, Right- or Center-justified along the path.&amp;nbsp; It has some common US-Imperial insulation thicknesses built in as options, or you can specify whatever thickness you want.&amp;nbsp; It fits the curves to the overall length exactly, so there's no need to Trim overshoot, nor the continuous-centerline bits at the ends that Batting linetype gives you.&amp;nbsp; And it's a Polyline, so you can Trim it if you want, such as&amp;nbsp;to things like angled&amp;nbsp;baffles for attic-insulation ventilation at roof eaves.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 15:03:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071221#M103594</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-15T15:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071371#M103595</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;...&amp;nbsp;more later, perhaps....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Some Layer-related ones:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;LayerIsolateOnOff.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;LIO&lt;/STRONG&gt;&lt;/FONT&gt; and &lt;FONT color="#000000"&gt;&lt;STRONG&gt;LUO&lt;/STRONG&gt;&lt;/FONT&gt; commands is similar to AutoCAD's&amp;nbsp;LAYISO and LAYUNISO, except:&lt;/P&gt;
&lt;P&gt;A)&amp;nbsp; If you change something about a Layer [such as its color or linetype] between using LIO and LUO, it &lt;EM&gt;leaves that changed&lt;/EM&gt;&amp;nbsp; rather than reverting [as LAYUNISO did at least at the time I wrote this -- that may be fixed in later versions] -- it deals &lt;EM&gt;only&lt;/EM&gt; &amp;nbsp;in the On/Off condition of the Layers involved.&lt;/P&gt;
&lt;P&gt;B)&amp;nbsp; It &lt;EM&gt;nests&lt;/EM&gt; -- you can isolate some Layers, and then further isolate fewer of them with another LIO command, and even further down to even fewer, as many levels deep as you want to go, and then successive LUO commands will "step back" through each successive&amp;nbsp;combination of turning Layers back On in reverse order&amp;nbsp;[LAYUNISO can step back only once].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;LayerIsolateThawFreeze.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;LIT&lt;/STRONG&gt;&lt;/FONT&gt; and &lt;STRONG&gt;&lt;FONT color="#000000"&gt;LUT&lt;/FONT&gt;&lt;/STRONG&gt; commands is just like LIO/LUO except that it does it by Freezing and Thawing rather than turning Off and On, an option not available with LAYISO [except that within a Viewport, it does VPfreeze rather than turning Off].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;LayerQuellPick.lsp&lt;/STRONG&gt;&lt;/FONT&gt; contains four commands to make invisible ["quell" seemed to&amp;nbsp;cover both "off" and "freeze" choices] the Layers of picked objects.&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#000000"&gt;LOP&lt;/FONT&gt;&lt;/STRONG&gt; = &lt;FONT color="#000000"&gt;&lt;STRONG&gt;L&lt;/STRONG&gt;&lt;/FONT&gt;ayer &lt;FONT color="#000000"&gt;&lt;STRONG&gt;O&lt;/STRONG&gt;&lt;/FONT&gt;ff by &lt;FONT color="#000000"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/FONT&gt;icking [top-level objects], &lt;FONT color="#000000"&gt;&lt;STRONG&gt;LOPN&lt;/STRONG&gt;&lt;/FONT&gt; = &lt;FONT color="#000000"&gt;&lt;STRONG&gt;L&lt;/STRONG&gt;&lt;/FONT&gt;ayer &lt;STRONG&gt;&lt;FONT color="#000000"&gt;O&lt;/FONT&gt;&lt;/STRONG&gt;ff by &lt;FONT color="#000000"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/FONT&gt;icking [&lt;STRONG&gt;N&lt;/STRONG&gt;ested objects],&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;LFP&lt;/STRONG&gt;&lt;/FONT&gt; = &lt;FONT color="#000000"&gt;&lt;STRONG&gt;L&lt;/STRONG&gt;&lt;/FONT&gt;ayer&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;F&lt;/STRONG&gt;&lt;/FONT&gt;reeze by &lt;FONT color="#000000"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/FONT&gt;icking [top-level objects],&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;LFPN&lt;/STRONG&gt;&lt;/FONT&gt; = &lt;FONT color="#000000"&gt;&lt;STRONG&gt;L&lt;/STRONG&gt;&lt;/FONT&gt;ayer&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;F&lt;/STRONG&gt;&lt;/FONT&gt;reeze by &lt;FONT color="#000000"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/FONT&gt;icking [&lt;FONT color="#000000"&gt;&lt;STRONG&gt;N&lt;/STRONG&gt;&lt;/FONT&gt;ested objects].&amp;nbsp; These pre-date AutoCAD's LAYOFF and LAYFRZ commands, and the nesting options&amp;nbsp;more recently added to them, but even now that those are available, these get you there directly, rather than needing to call up one of those commands and choose the Settings option and&amp;nbsp;then the Block selection option and then&amp;nbsp;the level.&amp;nbsp; [But they don't have the Viewport choice.]&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 15:49:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071371#M103595</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-15T15:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8910892#M103596</link>
      <description>Being A Site/Civil Engineer, I'm late to this convo... But my favorite routine is something I found way back in the forums during the 90's. It's a routine [TW] that automates using DVIEW to orient your view to two picks. Or, you can press enter instead to type in a specific rotation value. The lisp has a secondary command [SNAG] to set the crosshairs orthogonal when recalling saved views that are rotated.</description>
      <pubDate>Tue, 16 Jul 2019 01:24:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8910892#M103596</guid>
      <dc:creator>spear_kevin_pe</dc:creator>
      <dc:date>2019-07-16T01:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8910895#M103597</link>
      <description>&lt;P&gt;Being A Site/Civil Engineer, I'm late to this convo... But my favorite routine is something I found way back in the forums during the 90's. It's a routine [TW] that automates using DVIEW to orient your view to two picks. Or, you can press enter instead to type in a specific rotation value. The lisp has a secondary command [SNAG] to set the crosshairs orthogonal when recalling saved views that are rotated.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 01:25:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8910895#M103597</guid>
      <dc:creator>spear_kevin_pe</dc:creator>
      <dc:date>2019-07-16T01:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8911875#M103598</link>
      <description>Sounds like my VTWIST routine that originated in 1997 and includes&lt;BR /&gt;automatic change to SNAPANG.  The best part is that there is an "Object"&lt;BR /&gt;option, meaning you need make only one pick of say text, or a polyline&lt;BR /&gt;segment, even if nested in a block or xref.&lt;BR /&gt;&lt;BR /&gt;It's funny that it still contains an option to select a border block (from&lt;BR /&gt;the days before the use of paper space).&lt;BR /&gt;&lt;BR /&gt;If any one wants it, just say so.</description>
      <pubDate>Tue, 16 Jul 2019 13:28:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8911875#M103598</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2019-07-16T13:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8973359#M103599</link>
      <description>&lt;P&gt;my daily use&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:39:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8973359#M103599</guid>
      <dc:creator>iftikhargulmrd</dc:creator>
      <dc:date>2019-08-19T10:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8973531#M103600</link>
      <description>&lt;P&gt;If I may make a few comments....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many of the commands defined in CAD14.lsp may have been very useful in older versions -- AutoCAD &lt;EM&gt;Release 14&lt;/EM&gt;&amp;nbsp; from about 20 years ago [not talking about AutoCAD &lt;EM&gt;2014&lt;/EM&gt;] perhaps? --&amp;nbsp;but for a long time now, can be accomplished through the Properties palette, without any command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the ANUMBER command, people should be aware that it requires that the current Text Style have a &lt;EM&gt;fixed height&lt;/EM&gt;.&amp;nbsp; So you would need to ensure that you set that to the Style needed before using it.&amp;nbsp; But&amp;nbsp;given that:&lt;/P&gt;
&lt;P&gt;It has a non-existent function &lt;FONT color="#000000"&gt;(PRINC1)&lt;/FONT&gt; at the end.&amp;nbsp; But since it uses&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#000000"&gt;(while &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;to make it repeat, it requires the use of the&amp;nbsp;&lt;FONT color="#000000"&gt;ESC&lt;/FONT&gt;ape key to end it, which cancels the whole thing before you ever reach that non-existent function to get an error message about it.&lt;/P&gt;
&lt;P&gt;If you &lt;EM&gt;use the &amp;nbsp;&lt;/EM&gt;&lt;FONT color="#000000"&gt;(getpoint)&lt;/FONT&gt; &lt;EM&gt;function itself as the "test" part&lt;/EM&gt;&amp;nbsp; of the &lt;FONT color="#000000"&gt;(while)&lt;/FONT&gt; function, instead of using &lt;FONT color="#ff0000"&gt;T&lt;/FONT&gt;, then you can still end it with &lt;FONT color="#000000"&gt;ESC&lt;/FONT&gt;ape if you like, but also with &lt;FONT color="#000000"&gt;Enter&lt;/FONT&gt; or &lt;FONT color="#000000"&gt;Space&lt;/FONT&gt;.&amp;nbsp; And since you're dealing with only&amp;nbsp;&lt;EM&gt;integers&lt;/EM&gt;, the&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#000000"&gt;(RTOS FNUM&amp;nbsp; 2 0)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;can be replaced with just&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#000000"&gt;(&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;itoa&lt;/FONT&gt;&lt;/STRONG&gt; FNUM)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and that can be put directly into the text command, rather than being saved to another otherwise-unnecessary variable.&amp;nbsp; My suggested alteration:&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#000000"&gt;(defun C:ANUMBER &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#000000"&gt;(&lt;/FONT&gt;/ FNUM POINT1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;)
  (setq FNUM (getint "\nFIRST NUMBER : "))
  (while (setq POINT1 (getpoint "\nCHOOSE POINT&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt; or &amp;lt;exit&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;: "))
    (command "_.TEXT" POINT1 "0" (&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;itoa&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt; FNUM))
    (setq FNUM (1+ FNUM))
  )
  (princ)
)&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:24:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8973531#M103600</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-08-19T12:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8974267#M103601</link>
      <description>&lt;P&gt;I'd also add a simple IF statement .. (itoa nil) crashes.&lt;/P&gt;&lt;PRE&gt;(defun c:anumber (/ fnum point1)
  (if (setq fnum (getint "\nFIRST NUMBER : "))
    (while (setq point1 (getpoint "\nCHOOSE POINT or &amp;lt;exit&amp;gt;: "))
      (command "_.TEXT" point1 "0" (itoa fnum))
      (setq fnum (1+ fnum))
    )
  )
  (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Aug 2019 17:27:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8974267#M103601</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2019-08-19T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9462594#M103602</link>
      <description>&lt;P&gt;I've always been pretty happy with how my acad and acaddoc.lsp files are used to manage loading lisp files and setting variables.&amp;nbsp; The acad.lsp is used to check and set environmental variables and the acaddoc.lsp for those saved in the dwg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lisp commands are demand loaded from a specific folder and lisp functions through a separate folder.&amp;nbsp; So, everything I piece together a lisp or need to edit one I only need to save it to the appropriate folder and it will begin loading the next time a dwg is opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also reporting so if you save a lisp that does have an error you can see in the commandline window where it got hung up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm certainly not the greatest at writing lisp but have written quite a bit.&amp;nbsp; 90% of what I know is probably through these forums so I have great appreciation for you guys who are always willing to help.&amp;nbsp; I also always try to give credit if I use what other people have written.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AcaddocPrintscr.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/758689iEABD5C2091D3A9D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="AcaddocPrintscr.png" alt="AcaddocPrintscr.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:40:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9462594#M103602</guid>
      <dc:creator>Shneuph</dc:creator>
      <dc:date>2020-04-22T15:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9658108#M103603</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'd also add a simple IF statement .. (itoa nil) crashes.&lt;/P&gt;
&lt;PRE&gt;....
  (if (setq fnum (getint "\nFIRST NUMBER : "))
    (while (setq point1 (getpoint "\nCHOOSE POINT or &amp;lt;exit&amp;gt;: "))
....&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I hit this thread again in connection with something else, and decided to offer a further enhancement.&amp;nbsp; Another way to ensure there's a value for the number, and also to offer a default value of 1 the first time, and of the next unused number on subsequent use:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun C:ANUMBER (/ POINT1)
  (initget 6); no zero, no negative
  (setq _ANumberInt_ ; global variable
    (cond
      ( (getint ; [returns nil on Enter]
          (strcat
            "\nFIRST NUMBER &amp;lt;"
            (if _ANumberInt_ (itoa _ANumberInt_) "1")
              ; prior value as default if present, otherwise 1
            "&amp;gt;: "
          ); strcat
        ); getint
      ); User-input condition
      (_ANumberInt_); on Enter with prior value [returns nil if none]
      (1); Enter on first use
    ); cond
  ); setq
  (while (setq POINT1 (getpoint "\nCHOOSE POINT or &amp;lt;exit&amp;gt;: "))
    (command "_.TEXT" POINT1 "0" (itoa _ANumberInt_))
    (setq _ANumberInt_ (1+ _ANumberInt_))
  ); while
  (princ)
); defun&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT size="2"&gt;I changed the variable name to something &lt;EM&gt;specific to the command name&lt;/EM&gt;, so it's unlikely to be overwritten by any other routine in between uses of this one.&amp;nbsp; [The underscore prefix/suffix are just a convention some people use to distinguish global variable names from localized ones -- some use other characters for such indicators, like * or $, and/or sometimes use one only at the beginning, or none at all.]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:54:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9658108#M103603</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-07-27T18:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9668358#M103604</link>
      <description>&lt;P&gt;My daily use Lisp programs:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;A href="http://autolisps.blogspot.com/p/sumarea-sumlen-toclipboard_2.html" target="_blank" rel="noopener"&gt;SUMAREA_SUMLEN_toCLIPBOARD&lt;/A&gt; - copies sum of area or length of objects and copies to clipboard so it can be easily pasted in another program. Program offers an option to define decimal symbol and devide factor.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;A href="http://autolisps.blogspot.com/p/renameblockorlayerdcl.html" target="_blank" rel="noopener"&gt;RENAME_BLOCK_OR_LAYER(+DCL)&lt;/A&gt; - simple routine with one field popup window for changing name of a block or a layer of selected object.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;A href="http://autolisps.blogspot.com/p/xrefrutines.html" target="_blank" rel="noopener"&gt;XREFPATHUPDATE&lt;/A&gt; - for quick reloading not found xrefs or for replacing xrefs path with the path stored in clipboard.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;A href="http://autolisps.blogspot.com/p/quickappload.html" target="_blank" rel="noopener"&gt;QUICK_APPLOAD&lt;/A&gt; - for loading lisp files that I write in external editor (like Notepad++) and need to test it each time I change something&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;More general purpose lisp routines you can also find on my &lt;A href="http://autolisps.blogspot.com/p/home-page.html" target="_blank" rel="noopener"&gt;website&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2020 13:43:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9668358#M103604</guid>
      <dc:creator>andkal</dc:creator>
      <dc:date>2020-08-02T13:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9668610#M103605</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;Some of my free applications listed in the following link to my website:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://autolispprograms.wordpress.com/free-apps/" target="_blank" rel="noopener"&gt;https://autolispprograms.wordpress.com/free-apps/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2020 18:31:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9668610#M103605</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2020-08-02T18:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9668993#M103606</link>
      <description>&lt;P&gt;A simple answer a work always in progress, just some of the 1100+ lisps in one directory, A*.lsp 71 lisps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 03:17:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9668993#M103606</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-08-03T03:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9674485#M103607</link>
      <description>&lt;P&gt;Those lisp are very useful tools, thank you very much, do you have one to vpfreeze a selected object it's kind of the inverse of your LayerIsolateThawFreeze.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you in advance,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 13:50:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9674485#M103607</guid>
      <dc:creator>bfalconr</dc:creator>
      <dc:date>2020-08-05T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Share Your Favorite usefull LISP files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9674616#M103608</link>
      <description>&lt;P&gt;&lt;STRONG&gt;XYZ - similar to the ID command but displays the information in a dialog box. My favorite thing about this routine is if your units are set to 1/256, it will display correctly.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 14:39:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/9674616#M103608</guid>
      <dc:creator>Jonathan3891</dc:creator>
      <dc:date>2020-08-05T14:39:58Z</dc:date>
    </item>
  </channel>
</rss>

