AutoCAD

    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Polyline Join
Tip# 1849 By Rui Cola On 01-Jan-2003
2
Rated By 1 users Downloaded : 286
Categories : 2D Editing
Software type : AutoCAD
Rename File To : Tip1849: PJ.LSP
pj.lsp. Convert connected lines into a polyline with an option to change the polyline's width.
Related CAD Tips

pj.lsp. Convert connected lines into a polyline with an option to change the polyline's width.

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Convert Objects to Color-by-layer
Tip# 1850 By Jan Virding On 01-Jan-2003
1
Rated By 1 users Downloaded : 166
Categories : Object Data
Software type : AutoCAD
Rename File To : Tip1850: CHC.LSP
chc.lsp. Converts selected objects to color-by-layer.
Related CAD Tips

chc.lsp. Converts selected objects to color-by-layer.

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Edit Attribute Values Revised
Tip# 1851 By Clinton Cogswell On 01-Jan-2003
3
Rated By 1 users Downloaded : 331
Categories : Attributed Blocks
Software type : AutoCAD
Rename File To : Tip1851A: SINGLA.LSP, Tip1851B: SINGLA.DCL
singla.lsp an singla.dcl. Revision to tip #1840 (December 2002). Lets you edit attribute values one at a time.
Related CAD Tips

singla.lsp an singla.dcl. Revision to tip #1840 (December 2002). Lets you edit attribute values one at a time.

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
TSP Problem
Tip# 1856 By Sudhir Ogale On 01-Feb-2003
4
Rated By 1 users Downloaded : 316
Categories : Linear Objects
Software type : AutoCAD
Rename File To : Tip1856: TSP.LSP
tsp.lsp. Routine solves the traveling salesperson problem--the person starts out, visits all points (with no overlap), and returns to the start point.
Related CAD Tips

TSP PROBLEM
Tip #1856 [TSP.LSP]
This is not really a tip, but something to play with during lunch hour or on a rainy day. The TSP (Traveling Salesperson Problem) is as follows. A salesperson has to start from a starting point, visit all places, and return to the same starting point. While moving along the points, there should not be any cross-overlap. The term TSP is used for GIS projects that must deal with this type of problem. See the top of TSP.LSP file for instructions. Lispers should enjoy dissecting the code.
 

 

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Drawing database listing
Tip# 1857 By Colin Campbell On 01-Feb-2003
4
Rated By 1 users Downloaded : 195
Categories : Misc. User Tools
Software type : AutoCAD
Rename File To : Tip1857: LDWG.LSP
ldwg.lsp. Creates a list of all graphical objects in the drawing database and lists them with quantities.
Related CAD Tips

DRAWING DATABASE LISTING
Tip #1857 [LDWG.LSP]
LDWG creates a list of all graphical objects in the database and lists them with their quantities in alphabetical order. The program automatically
adds new objects to the list as it discovers them, although it must rediscover them each time unless you add them to the variable name_list.
 

 

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
purge block attributes
Tip# ALSP203 By Tony Hotchkiss On 01-Feb-2003
1
Rated By 1 users Downloaded : 620
Categories : Purge
Software type : AutoCAD
Rename File To : PURGE-ATTRIBS.LSP , PURGE-ATTRIBS.DCL
purge-attribs.lsp and purge-attribs.dcl purge all attributes in multiple drawings, leaving the graphics for the blocks intact.
Related CAD Tips

Thom Beauchamp e-mailed a request to take a set of 10 or so drawings, each with 2,200 or more attributed blocks, and purge all of the attributes, leaving the graphics for the blocks intact. The AutoLISP Solution is PURGE-ATTRIBS.LSP and its dialog-box control counterpart PURGE-ATTRIBS.DCL. The purge routine automatically removes every attribute from every block reference. The only user interaction is to select the drawings to be purged from a dialog box list.

HOW TO USE PURGE-ATTRIBS.LSP
Download the LSP and the DCL files from our Get the Code section and save them in the AutoCAD support directory. From the AutoCAD tools menu, choose Load Applications, or enter Appload at the AutoCAD command prompt. In the Load/Unload Applications dialog box, select the PURGE-ATTRIBS.LSP file from the support directory where you installed it, then click Close. After you load the program, AutoCAD prompts you to enter PA to start.

When the program starts, you see the dialog box shown in figure 1.
A note on the dialog box reads:

Note: Single Document Interface only.
You must set system variables SDI = 1,
and LISPINIT = 0 If these are not set,
press the Cancel button and set them.


 

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Zooming with accelerator keys
Tip# 1852 By Harry Pisila On 01-Feb-2003
4
Rated By 1 users Downloaded : 200
Categories : Display Control, Zoom
Software type : AutoCAD
Rename File To : Tip1852: ACCELERATOR-KEYS.TXT
accelerator-keys.txt. Menu macros to help you zoom faster.
Related CAD Tips

ZOOMING WITH ACCELERATOR KEYS
Tip #1852 [ACCELERATOR-KEYS. TXT]
Reader Harry Pisila suggests using accelerator-key menu macros to make zooming quicker, especially for you touch-typists. Here are some of the ones he s added to his menu file:
Page up becomes zoom 23
Zoom
2x
Page down becomes Zoom 0.53
Zoom
.5x
Check the accompanying ACCELERATOR-KEYS.TXT file for others and references for defining accelerator keys.
 

 

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Toolbar extractor
Tip# 1853 By Lanny Schiele On 01-Feb-2003
4
Rated By 1 users Downloaded : 403
Categories : Toolbars
Software type : AutoCAD
Rename File To : Tip1853: TOOLBAR.ZIP
toolbar.zip (3 files) extracts toolbars from menus, a handy way to remove custom toolbars.
Related CAD Tips

TOOLBAR EXTRACTOR
Tip #1853 [TOOLBAR ZIP]
The Toolbar Extractor lets you extract toolbars from menus. It s a handy tool for CAD managers who must yank custom toolbars that users have added to Auto-CAD s standard menus. To use, simply unzip the DVB and LSP files to a folder in AutoCAD s file support search path. Type in:
(load  tbx )
To use, just type in:
TBX
 

 

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Shadow box
Tip# 1854 By Theodorus Winata On 01-Feb-2003
5
Rated By 1 users Downloaded : 465
Categories : Notes/Text
Software type : AutoCAD
Rename File To : Tip1854: S-BOX.ZIP
s-box.zip (3 files) adds two shaded edges to a box. You can control the shade width.
Related CAD Tips

SHADOW BOX
Tip #1854 [S-BOX.ZIP]
This AutoLISP function adds two shaded edges to a box (figure 1). The shown image is in the included SX.SLB file. The dialog box (DCL file) contains a list of layer selections and an edit box to control the shade width.The dialog box is defined in the SX.DCL file.


 

 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Matching views
Tip# 1858 By Donald Wells On 01-Mar-2003
1
Rated By 1 users Downloaded : 176
Categories : Named Views
Software type : AutoCAD
Rename File To : Tip1858: MATCH1.LSP
match1.lsp helps you use multiple screens by matching the display in additional screens to the original screen.
Related CAD Tips

MATCHING VIEWS
Tip #1858 [MATCH1.LSP]
Here s a routine to make better use of multiple screens.Reader Donald Wells does plumbing design and is constantly switching from floor to floor to line things up or for copying. Trying to find the same area on different drawings was time consuming until he got the idea for the following. Run Match1 in the active drawing that you want the other screens to match. It writes a script file to your c: emp directory so that when you click into another screen and run the script file, it matches the original screen. To check a dozen title blocks on different drawings, simply open all the drawings at once, run MATCH1.LSP and then MATCH.SCR to make them all look the same. Run MATCH1.LSP only once because MATCH.SCR
remains until it is overwritten by a new set of data.

 

 
Syndicate content