Every now and then it's nice to come across some free AutoCAD linetypes to use on that certain project.
Since the AutoCAD program comes with various linetypes, such as continuous (solid straight line), hidden, dashed, center and dotted lines (and more!), searching for free line types is something a CAD user may only need to do occasionally.
AutoLISP Debugger for AutoCAD R12 (free LISP debugger) AutoLISP Debugger for AutoCAD R13c4 (free LISP debugger) AutoLISP Debugger for AutoCAD R14 (free LISP debugger) 40kB: AutoLISP Debugger for IntelliCAD (free LISP debugger) 45kB: 11.2.2001: AutoPDF automatically saves a PDF copy of a drawing on every save of the DWG drawing (A2007/2008.
- Displays a list of all available AutoLISP commands, functions, and variables. Advance Steel 2018, AutoCAD 2018, AutoCAD Architecture 2018, AutoCAD Civil 3D 2018, AutoCAD Electrical 2018, AutoCAD MEP 2018, AutoCAD Map 3D 2018, AutoCAD Mechanical 2018, & AutoCAD Plant 3D 2018. Related Concepts. About AutoCAD Express.
- You can find all kinds of free AutoCAD tools here. Feel free to download any of the AutoCAD LISP routines, AutoCAD blocks, AutoCAD details, text styles or AutoCAD hatch patterns. We have a great range of DWG files, we know you will love. They're all great drafting resources and they are all free!
As you'll see throughout our site, we've taken some of the leg work out of searching the net for useful AutoCAD additions.
It is a good idea to download them all and store them in an easily accessible directory that you can sift through when needed.
We have compiled a good list of resources below that offer these free line type additions for AutoCAD.
- Also note: In addition to these free Auto CAD line types resources, you may also find it useful to use our 'Site Search' feature.Here you can search for other various free resources, such as:free AutoCAD blocks
free AutoCAD hatch patterns
free AutoCAD lisp routines
... and more, that we have compiled and listed on our site over time.
AutoCAD Line Styles
Free AutoCAD linetypes for drawing - Download the forest service's AutoCAD standards, including their line type files for various types of line styles to use in your drawing.
Various Linetypes Collection - A very good selection of freebie line styles, including fire protection, electrical, intercom, nurse call, television, radio, piping, air conditioning and more.
Curly Line Types - Self explanatory.
Instrumentation Ltypes for AutoCAD - A nice selection of instrumentation style lines.
.LIN linetypes - More useful styles of complex line types for AutoCAD and ACAD LT.
If you are interested in learning more about working with linetypes, we suggest that you start with this tutorial.
Sign up for our FREE CAD Tips and Tricks Newsletter:
'The CAD Times'
|
Free Autocad Lisp Routines
|
Free Autocad Lisp Routines
Please feel free to be inspired, cut&paste or if you have any feedback, questions or looking for an AutoLISP programmer for small or large projects go here. If you want some customization or anything else that you can come up with that we might help you with you're welcome to contact us.
- acad.lsp Instruction on the usage of acad.lsp
- acaddoc.lsp Instruction on the usage of acaddoc.lsp
- accdist.lsp Accumulate distances
- AecExportToAutoCAD.lsp Read and write the settings that AecExportToAutoCAD and the like command uses
- AECObjectsExplodeOptions.lsp Read and write the settings in the 'Explode AEC Objects' dialog box when using command _AecObjExplode
- AreaM.lsp Calculates the total area of selected objects
- areaOfObject.lsp Returns the area of selected object
- AreaText.lsp Select a polyline and where to place the text for the area
- AttDefToMText.lsp Convert Attribute definitions to MText
- AttDefToText.lsp Convert Attribute definitions to Text
- axBlock.LSP Generic block and attribute AutoLISP functions
- axCreateVP.LSP Creation of viewports using AutoLISP
- axInsert.lsp Example of inserting a block with ActiveX in modelspace
- backgroundchanger.lsp Change the background color back and forth
- BlockToXref.lsp Convert Blocks to Xrefs
- BOMLengths.lsp Get the accumulated sum length of multiple objects
- CAO_Link_Templates.lsp Create/delete Link Templates using CAO
- ChangeNoPlottableLayers.LSP move all entities from layers that are not plottable to layer defpoints
- dimlinechange.lsp Changes selected line on a dimension to current layer
- DisplayColorProperties.lsp Miscellaneous commands related to Colors on the Display tab on the Options dialog
- DisplayProperties.lsp Miscellaneous commands related to the Display tab on the Options dialog
- DLF.lsp Delete AutoCAD layer filters
- GetPlotDevices.lsp Generic plot setting functions to get plot styles and plotters available
- getvpscale.lsp Get Viewport Scale in active viewport or in selected
- Hatch_Move.lsp Moves the startpoint/snapbase for selected hatches base points independently
- HATCHB.LSP Recreates hatch boundary by selecting a hatch
- HatchBase.lsp Change the hatch base point on one or many hatches
- historylines.lsp Change the number of command history lines
- insrot.lsp 2 versions of Insert block with attribute rotated to specified angle
- JTB_TitleBar.lsp Change the title bar of the AutoCAD application
- layer-list.LSP Layer list to file
- layer-lw-list.LSP Layer and lineweight list is created as a drawing
- layers-erase.LSP Erase all layers that are frozen or off
- layer-state.LSP List layers according to state
- layer-toggle-freeze.lsp toggle the freeze state of layer and regens only the objects on the layer
- LayoutsToDwgs.lsp Creates separate drawings of all layouts
- lengthOfObject.lsp Returns the length or the perimeter of selected object
- LengthText.lsp Select an object with a length and where to place the text for the length
- linetype.LSP Load linetype and check for existence of specified linetype
- mpt.lsp Midpoint of 2 or 3 points
- mstxt.lsp Select multiple different objects (text, mtext, multileaders, dimensions, attributes) with text and edit them one at a time
- osnapz reactor to change colors when osnapz changes
- pagesetup.lsp Miscellaneous routines related to Page Setup
- PersonalMtextSymbols.lsp Add personal mtext symbols in the right click menu in the mtext editor
- pljoinfuzz.lsp Joins lines, arcs and polylines using a fuzz distance
- PlotDevicesFunctions.lsp Miscellaneous Plot Devices Functions
- plotdialog.lsp Force Plot dialog by lisp
- profiles.lsp Miscellaneous profile commands
- ProjectPaths.lsp Project path functions including export to file
- Purge-Point.lsp Kills all POINT 5 vent-objects and V50-dictionaries
- purger.lsp Various purge functions with no command line echo
- PurgeReconciledLayers.LSP Purge all information about reconciled layers in the drawing
- Purge unreferenced images in AutoCAD with AutoLISP - can be used to purge unreferenced images from a drawing and delete and detach all images that are not found
- remicons.lsp Removes the icons Buzzsaw, RedSpark, Point A and FTP in Open dialog box
- SOpen.lsp Open command that works for all cases independent on SDI
- supportPaths.lsp Save and loads support paths to a text file
- TextFunctions.lsp Change all text styles on all objects to named text style
- TextHeight.lsp Text is resized based on the justification point
- tsh0.lsp Set all text style's height to 0
- txtRot.lsp Rotate selected text objects to specified angle
- viewportcenter.LSP Get the viewport center coordinates
- viewsIO.LSP Export and import views
- VPlayers.lsp Save, load and restore frozen viewport layers from file and match from one viewport to another
- vp-outline.LSP Creates a polyline in modelspace that has the outline of the selected viewport
- vpsel.lsp Select all visible objects in selected or active paperspace viewport
- XrefRename.lsp Rename xref and update path
- XrefRepath.lsp Repath xrefs to use relative paths instead of absolute paths.
- zoome.lsp Zoom extents in all viewports
- Download acetutil.zip Documentation for the Express acet functions
- wcmatch AutoCAD AutoLISP function
- Some Free AutoLISP code by Mark Beggs
If you look for an app that can load AutoLISP files from your library take a look at our app JTB Lisp.
AutoLISP / Visual LISP
AutoLISP is based on the LISP programming language. Because AutoCAD has a built-in LISP interpreter, you can enter AutoLISP code at the command prompt or load AutoLISP code from external files. Visual LISP (VLISP) is a software tool designed to expedite AutoLISP program development. AutoLISP and Visual LISP is often used mutually but AutoLISP is only a subset of Visual LISP. Visual LISP was incorporated into AutoCAD 2000 released in March 1999, as a replacement for AutoLISP.
Visual LISP technology is a tool for code creation in the AutoCAD software application. It is a full-featured, interpretive programming language that you can use to call AutoCAD commands, system variables, and dialog boxes. Visual LISP offers a complete development environment, including
- Reduced development time using the integrated development environment (IDE), which makes it easier and faster for users and developers alike to create, debug, and deliver AutoLISP-based applications
- Access to Microsoft ActiveX objects and event reactors
- Source code protection against theft and alteration
- Operating system file-operation functions
- LISP function extensions for list processing
In February 2018, BricsCAD V18.2 came with BLADE, the BricsCAD LISP Advanced Development Environment. See this blog post.
LISP is used by CAD applications like AutoCAD, BricsCAD, DraftSight, GstarCAD, CADopia, IntelliCAD, progeCAD and ZWCAD.
With AutoCAD 2021 improvements have been made to AutoLISP and DCL. These improvements include:
Free Autolisp
- Cross-platform development with Microsoft Visual Studio (VS) Code. See get started page and videos here.
- Unicode support
- DCL is now supported on Windows and Mac
Miscellaneous tips and trix for AutoCAD AutoLISP
; AutoLISP function to convert degrees to radians
(defun dtr (a)
(* pi (/ a 180.0))
)
; AutoLISP function to convert radians to degrees
(defun rtd (r)
(* 180.0 (/ r pi))
)
; Example on how to remove the last element or item in a list
(setq lst '(1 2 3 4))
(setq lst (reverse (cdr (reverse lst))))
; result is (1 2 3)
; Example on how to right rotate a list 1 step
(setq lst '(1 2 3 4))
(setq lst (append (list (last lst)) (reverse (cdr (reverse lst)))))
; result is (4 1 2 3)
; Example on how to left rotate a list 1 step
(setq lst '(1 2 3 4))
(setq lst (append (cdr lst) (list (car lst))))
; result is (2 3 4 1)
Visual LISP example how to delete all empty layouts (tabs). If the layout has been activated it will contain a viewport object and will not be deleted by this function.
In previous version (= nil (ssget 'x' (list (cons 410 (vla-get-name layout))))) was used but did not catch layouts where the viewport object has been deleted. vla-get-count will return 0 for non activated layouts and 1 for a layout with no objects.
Purge layer filters / delete layer filters in AutoCAD. You get it here at my blog or here.
or another approach because the above one is not working in newer versions of AutoCAD:
Using VBA where QnewPath is the Template File Name: ThisDrawing.Application.Preferences.Files.QNewTemplateFile = QnewPath
Autocad Lisp File For Coordinates Free Download
Using LISP: (vla-put-QNewTemplateFile (vla-Get-Files (vla-Get-Preferences (vlax-get-acad-object))) QnewPath)