[Search tip detail and code files using keywords, tip number, author name, etc ]
    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.
Change Object Linetype
Tip# 3953 By Kent Cooper On 13-Aug-2012
Rated By 0 users Downloaded : 178
Categories : Object Properties, LISP Code Modules
Software type : AutoCAD 2013
Rename File To : ChangeObjLinetype.lsp
Select objects to change their linetypes.

This routine from Kent Cooper lets you quickly change linetypes of selected objects in AutoCAD, with immediate feedback. This file includes a main function that does the actual work, plus several wrapper functions — one for each of the AutoCAD linetypes. Start by loading the LISP file, then run the command CL. Abbreviations for the various linetypes are given to you at the Command line; choose one, then select the objects to change. If you open the LISP file, you will also see more than two dozen other command names that when used, save you the step of choosing the linetype. For example, use CLDD for the DashDot linetype, or CLPX for the PhantomX2 linetype. If you choose a linetype that is not currently loaded, the routine will load it for you. There are plenty of comments and other information inside the LISP file also.


Average Rating:

User comments
Comment by Cooper,Kent
Posted on 2012-12-07 09:29:39
One additional thing worth knowing: You can choose a different linetype to change things to in mid-stream, with the New-linetype option, whether you started in the generic CL command or in any of the already-linetype-specific commands.

Log In