View Full Version : Linetype Search Path
christ0j
16th Nov 2005, 06:37 pm
Does anybody know where I can set the linetype search path? We use a custom .lin file, but acad2006 looks at the acad.lin file on the c drive. I need acad to look on the server, not the c drive.
David Bethel
16th Nov 2005, 07:25 pm
As far as I know, ACAD.LIN is the only file ACAD will look in without loading a .lin file. -David
Wozza
17th Nov 2005, 02:16 am
Chris,
We've got our own linetypes and we use this snippet of lisp to load it on the relevant toolbar button:
(setq linetypename (tblsearch "ltype" "EXISTGAS"))
(if (= linetypename nil)
(command "LINETYPE" "LOAD" "EXISTGAS" "P:/CAD/LINETYPES/ITC" "")
I had to use lisp to do this as using a simple macro to load it works fine if it isn't already loaded. For example:
Linetype load hidden2
However, if it IS loaded, then the command sequence pauses to ask if you want to reload it. The lisp routine checks first.
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.