Posts

Continue Polyline

Image
  Here is a simple routine that lets you pick up where you left off. You simply pick the end of an existing polyline, and this routine will let you pick more points (add more vertices) to that polyline. This routine continues even the properties as well… Here’s how: CPOLY <enter> to start Select a part of a polyline that is near its endpoint. You may need to specify what endpoint you want to continue from Click to place more vertices Credits : AutoCAD Tips Website

Lisp file for finding midpoint of a pline with several segments

Image
It defines the command MidPoly which does the trick. I mean a small program which goes through all the segments and calculates the distances and then finds the midpoint along the pline. Credits : For Dimention Technologies 

Replace Selected Points In A Drawing With A Defined Block

Image
How to replace selected points in a drawing with a defined block in the drawing ? This routine could be more rubust but it is still helpful. It does let you specify the scale of the block and rotation. Command : PT2BLOCK Enter the name of the block that will replace the point objects with ,enter> Specify the insertion Scale Factor Specify the rotation angle Select Point objects that will be replaced by the block. Note: this is not a global point replacement program by default. If you would like to replace all point objects, enter ALL at the command line. Credits :                  Michael Weaver,                           2175 George Road                       Fairbanks, Alaska 99712                     (907)488-3577 voice and fax                   Email:71461.1775@compuserve.com                  Mike_Weaver_Alascad@compuserve.com                            Fri 02-23-1996                           (c)1996 Alascad

Automatic Level Calculating Attribute

Image
Slope is a measure of change in elevation. It is a crucial parameter in several well-known predictive models used for environmental management. One way to express slope is as a percentage. To calculate percent slope, divide the difference between the elevations of two points by the distance between them, then multiply the quotient by 100. The difference in elevation between points is called the rise. The distance between the points is called the run. Thus, percent slope equals (rise / run) x 100. Using this attribute you can easily get the second level as per given slope (%). Instructions ============  Simply enter the first level, required slope in percentage (%) in the attribute and adjust the poly line for the length. Regenerate your drawing 2-3 times it will automatically calculate the second level for you.

How do you put Autocad 2017+ in classic mode ?

Image
The classic workspace no longer ships with AutoCAD. Using this Lisp you can easily recreate the AutoCAD Classic workspace. As much as we older types resort to the way we "used to do it" I suggest that you learn the newer UI instead of reset to the classic-style interface. However, if you really want to go there try these settings/steps: Manual Mode ========== MENUBAR = 1 Tools > toolbars > acad > layers hoover over layers toolbar > right click > properties  hoover over any toolbar > right click > standard  hoover over any toolbar > right click > styles hoover over any toolbar > right click > workspaces  RIBBONCLOSE  arrange toolbars  workspace, saveas, Classic Automatic Mode ============ 1. Load the LISP 2. Type "CLASSIC" 3. Done 4. To Restore to Original Ribbon Mode Type "ORIGINAL"

Make Your AutoCAD Work Faster

Image
To improve AutoCAD performance you can tweak some settings related to the operating system and your hardware. But apart from making these changes, there are also some default settings which can be changed using system variables to visibly enhance the performance of AutoCAD. In this article, I have listed such system variables. TOOLTIPS ======== This variable is set to 1 as default which will show tooltips when you hover your cursor over a tool. To improve the performance you can turn off these tooltips by changing TOOLTIPS system variable value to 0. ROLLOVERTIPS ============ If the ROLLOVERTIPS system variable is set to 1 and you hover your cursor over an object in the drawing area then a tooltip will appear which will show a small list of the object properties. Make this variable 0 to increase speed when working with large drawings. SELECTIONPREVIEW ================ By default, the value of SELECTIONPREVIEW system variable is set to 3, which allows a preview of th

Slope Calculator Ver 2.1

Image
A slope describes the steepness of a line. It is also known as gradient. The slope or gradient of a straight line can be calculated when  points (Level 1) and (Level 2) are given. In this calculator, you can find the slope and equation of the straight line with two given points (two point slope form).  What is new in Ver. 2.1  Tangentangent of a Circle Calculator  A tangent intersects a circle in exactly one place. It is a line which touches a circle or ellipse at just one point. The square of the length of tangent segment equals to the difference of the square of length of the radius and square of the distance between circle center and exterior point. Length of the tangent from a point can be calculated from circle radius and angle using this Tangent of a Circle Calculator. Fillet Area Calculator  GEOMETRICAL FORMULAS Area of Plane Figures Circle : Find the area of Fillet using this Calculator Curve Length Calculator  This arc length calculator is a tool that can

Quickly Rotate The Drawing UCS, Without losing the original co-ordinates

Image
1. Load the LISP using APPLOAD command (AP) 2. Draw or select a line along the longest side of the property, building, etc.  3. Type "ROD" command to activate the lisp. 4. Select the line or object. 5. Done "This can also be done in a viewport without affecting model space, but you will need to reset the VP scale." Notes : Rotating your UCS to an object is a very quick way to rotate your drawing's view so that it is aligned with a major object in your drawing. This works very well when you want to rotate the view in a viewport. It is instant and it rotates the view to the angle of the object you select. To put things back to normal, type PLAN on the Command line and choose WORLD, then type UCS and select WORLD.

Strip Mtext

Image
This program creates a user command that will quickly remove formatting applied to individual characters and words inside Mtext objects. StripMtext can remove the following types of formatting: Alignment  Color  Font Height  Underscore  Overscore  Linefeed (Paragraph Return)  Obliquing  Stacking  Tracking  Width  Non-breaking Space StripMtext does not modify Mtext properties such as style, justification, width, and rotation.  Nor does it manipulate inherited properties such as layer, entity color, etc. Note: Removing Mtext formatting is a very complex procedure.  This program has been designed to safely remove formatting but no guarantee exist.  Until you become familiar with StripMtext, please save your drawing before using.  If you do not like the results, you can immediatly issue an Undo command to restore your Mtext to its prior condition.  You are encouraged to spend a few minutes experimenting with different format removal settings on sample drawin

Outline Objects

Image
 This program enables the user to generate one or more closed          polylines or regions outlining all objects in a selection.                                                                                  Following a valid selection, the program calculates the overall       rectangular extents of all selected objects and constructs a          temporary rectangular polyline offset outside of such extents.                                                                              Using a point located within the offset margin between the extents    of the selection and temporary rectangular frame, the program then    leverages the standard AutoCAD BOUNDARY command to construct          polylines and/or regions surrounding all 'islands' within the         temporary bounding frame.                                            Courtesy                                                                      -----------------------------------------------------------

Compare Directories

Image
TreeComp is an interactive utility to keep 2 directory trees and the files within the directories in sync. The combined tree is displayed using a treeview control with icons indicating the status per directory. Programs to view the differences (i.e. Microsoft's WinDiff or WinMerge) between files with the same name can be launched by double-clicking, as well as editors for a file residing in one of the 2 trees. After inspection files can be copied/deleted interactively as desired. In our organization we view this program as an indispensable tool that is far beyond xcopy /s /e. TreeComp should work on all versions of Windows (95/98/NT 4/2000/XP/Vista/7/8/10 and Windows Server 2003/2008/2012/2016). Credits : https://lploeger.home.xs4all.nl/TreeComp3.htm#intro

Unicode to ML

Image
Convert Unicode to ML is a small utility designed to convert Unicode Malayalam fonts to ISM ML fonts. It is very simple to use. After opening the software You want to copy and paste the unicode text on the left Textbox and press convert button to convert. The converted text will appear in right Textbox. You can then copy that text and use in other windows applications. Courtesy : 

Spectrum Link Software [ Data Import / Export Utility software ]

Image
Spectrum Link software is a data import/export utility software. Latest Version 8.2.3 Released October 2011 Features of Spectrum Link includes: Import from Device (GNSS receivers, Total Stations and Digital Level) Convert Files Simple CAD function Export DXF format (no DXF import) Courtesy : https://www.sokkia.com.sg/support/spectrum-link.html

DIVAREA - Land Division Utility

Image
Suppose that you have to split a big part into 2, 3, 4 (or even 5.014!) or you want to cut a part of 2345 m2 out of the big one. All you need is a CLOSED LWPOLYLINE enclosing the big part.   Load the utility, after placing it into an appropriate folder,   let's say \Program Files\Acad2000\Support, invoke "APPLOAD" command   or invoke (LOAD"DIVAREA") and run it by typing DIVAREA.   Answer the few questions you will be asked and REMEMBER:   When you are prompted to indicate the two points of   the approximate division line, please bear in mind that      1. This DIVISION LINE will be rotated (or be offseted) and   neither of its endpoints should reside outside of the boundary,   (although it should have been easy to overcome this bug),   so pick points as FAR OUT from the boundary as possible,   not exceeding, of course, your current visibe area.   As for the FIXED POINT, in case you prefer "F"   rather than "C" as an answer

Batch Production Of Individual E-transmit Files

Image
Question ?  I recently started using e-transmit for sending files. The option of e-transmit is available only when file is open so can be done with one sheet only. How about when I want to send multiple sheet & some of there are interlinked. Is there a set up which I can use from window explorer rather than opening the file, so I can choose multifiles. Solution Step 1 Download AutoScript-for-AutoCAD file from the following LINK Step 2 Download and copy the script to your computer Step 3 Open Autoscript from AutoCAD Goto Drawing > Add Files / Add Folder Browse your script file Run > Start Done.

BGTOOLS (Background tools)

Image
BGLAYDEL - Deleting frozen and frozen layers with primitives BG1BLEXP - Blocks blocks consisting of one primitive (possibly another block) BGBLEXP - Blocks the block and all the blocks included in it, turning visible attributes into text BGBLEXP1 - Blocks the blocks of the 1st level, turning visible attributes into text BGBLDYNEXP1 - Explodes dynamic blocks of the 1st level, turning visible attributes into text BGBLEXP1NOATT - Blocks level 1 blocks that do not have visible attributes BGBLXCLIP - Shows clipped blocks BGBLDYN2A - Converts dynamic blocks to anonymous BGBLDYN2S - Converts dynamic blocks to static ones BGBLALLDYN2A - Converts ALL dynamic blocks to anonymous     BGBLALLDYN2S - Converts ALL dynamic blocks to static ones   BGBLXCLIPEXP - to blow up the cropped block BGCB - copies one of the block occurrences to a block with a new name  BGRB - renames one of the block occurrences in a block with a new name M2U - Convert MINSERT to Unnamed block M2B - Convert MIN

Find And Replace Group Of Blocks That Are Selected

Image
There are plenty out there and AutoCAD 2013 and lower has a Find and Replace Blocks.  However, the frustrating catch is I can seem to find a routine that will allow me to replace only those blocks that I select with a selection set of my choosing.  The built in function replaces all of them and will not let you exclude some.  We have PID drawings that we want to replace valves on, but not all valves.  We don't want to rename.  We don't need to BEDIT the existing block.  1) Pick group of blocks 2) specify a new block that will replace all instances of old block 3) replace inserted block with different block.  Leaving others alone.

Convert for Windows

Image
Convert is a free and easy to use unit conversion program that will convert the most popular units of distance, temperature, volume, time, speed, mass, power, density, pressure, energy, and many others, including the ability to create custom conversions! Operating Systems Convert runs on the following operating systems: Windows 95 Windows NT 4 Windows 98 Windows 98SE Windows ME Windows 2000 Windows XP Windows 2003 Windows Vista (32-bit & 64-bit) Windows 7 (32-bit & 64-bit) Windows 8 (32-bit & 64-bit) Windows 10 (32-bit & 64-bit) Linux/UNIX/anything that runs Wine1 Courtesy : josh@joshmadison.com Website : http://www.joshmadison.com/software

Plants Spacing | Calculator

Image
Calculating Plant Spacing and the Number of Plants Needed for a Given Area Patterns for Planting ====================== For SQUARE planting patters, the distance between plants within the rows (X) equals the distance between rows (Y). For TRIANGULAR planting patterns, the distance between plants within and between rows equals X, but the distance between rows (Y) equals 0.866X. SPACE NEEDED BY EACH PLANT ========================== To determine the total space needed by each plant, multiply the distance between plants within the rows (X) by the distance between the rows (Y). Examples ======== A. For a square planting pattern with plants spaced 6" on center (O.C.), X = 6 and Y = 6. Therefore, 6 × 6 = 36 in2. B. For a triangular planting pattern with plants spaced 6" O.C., X = 6 and Y = 5.2. Therefore, 6 × 5.2 = 31.2 in2. TOTAL NUMBER OF PLANTS NEEDED FOR A GIVEN AREA =============================================== 1. Take the total number of square feet