|
Welcome, Guest.
|
||||||
| AutoLISP AutoLISP or Visual LISP, learn both here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: 2000-11
Location: Ontario, Canada
Posts: 49
![]() ![]() ![]() ![]() |
Does anyone know of a way in Lisp to load ALL linetypes from a specified file, automatically Re-loading any linetypes that already exist in the drawing.
I'm trying to supress the prompt asking the user if they want to re-load a linetype that already exists in the drawing. Any ideas? Thanks in advance John D. Chapman |
|
|
|
|
|
#2 |
|
AUGI Addict
Join Date: 2004-02
Location: Colorado
Posts: 1,531
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You're aware that you can use standard methods (shift-select, ctrl-select, ctrl-A, etc.) to select more than one linetype in the Load Linetype dialogue? If some are already loaded, Autocad then gives you a "Reload?" dialogue box with a "Yes to all" option, so you don't have to say "Yes" for each one.
__________________
-- Sinc Civil-3D/Map 2009 http://www.ejsurveying.com http://www.quuxsoft.com (Sincpac-C3D) |
|
|
|
|
|
#3 |
|
Administrator
Join Date: 2001-08
Location: Seattle WA US
Posts: 4,393
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Code:
(setvar "Expert" 3) (command "._linetype" "_load" "*" "acad" "") (setvar "Expert" 0) |
|
|
|
|
|
#4 |
|
Member
Join Date: 2000-11
Location: Ontario, Canada
Posts: 49
![]() ![]() ![]() ![]() |
Ah Ha! Thanks Robert, I never even thought of the Expert variable. Thanks very much. This will allow me to load all linetypes without ANY re-load dialog coming up...which is what I need.
Thanks again! John D. Chapman |
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom linetypes in Named Plot Style | luc.magnee | AutoCAD Plotting | 1 | 2004-06-24 02:48 AM |
| Custom Linetypes are coming out solid | Martin P | Revit Architecture - General | 4 | 2004-06-10 02:15 PM |
| reload xref - layers | kca2.69080 | ACA General | 2 | 2004-06-02 11:44 PM |
| 6.0 Reload Worksets Before Changes - bug | beegee | Revit - Known Issues & Work-Arounds (Read only) | 0 | 2004-03-06 02:27 AM |
| Phase filters and linetypes | Steve_Stafford | Revit Architecture - General | 0 | 2003-06-30 11:30 PM |