Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Valued Contributor
bodhran
Posts: 69
Registered: ‎10-14-2010
Message 1 of 6 (822 Views)

To-lin Lisp - Exports linetypes to a new *.lin file

822 Views, 5 Replies
02-05-2013 07:04 PM

 

 

Higuys,

 

Just wondering if anyone knows if this lisp will work on Windows 7??

 

We've recently upgraded to 2012 on windows 7 from 2008 on XP and i treid to use this lisp yesterday but it didn't work.

 

I can't remember if it write the file new lin file to the drawing file location or if it goes to the C drive.

 

Our IT dept. have locked off pretty much everything except our desktops so maybe that an issue!!

Valued Contributor
dicra
Posts: 63
Registered: ‎02-20-2011
Message 2 of 6 (802 Views)

Re: To-lin Lisp - Exports linetypes to a new *.lin file

02-06-2013 04:23 AM in reply to: bodhran

This lisp is working fine on win7 and AutoCad 2012,

lin file is created in my document.

 

I am using totalcommander, and if you open drawing from him, files will be created in folder where is drawing location.

Valued Contributor
bodhran
Posts: 69
Registered: ‎10-14-2010
Message 3 of 6 (796 Views)

Re: To-lin Lisp - Exports linetypes to a new *.lin file

02-06-2013 05:09 AM in reply to: dicra
That's weird! It works for me, says it creates the file but I can't find it anywhere on my pc!!
Valued Contributor
dicra
Posts: 63
Registered: ‎02-20-2011
Message 4 of 6 (795 Views)

Re: To-lin Lisp - Exports linetypes to a new *.lin file

02-06-2013 05:14 AM in reply to: bodhran

Try to search for file which was created,

Type in start search:

NEWLT.LIN

Valued Contributor
bodhran
Posts: 69
Registered: ‎10-14-2010
Message 5 of 6 (768 Views)

Re: To-lin Lisp - Exports linetypes to a new *.lin file

02-08-2013 03:05 AM in reply to: dicra
I did try that no file with that name on my pc!
Valued Contributor
dicra
Posts: 63
Registered: ‎02-20-2011
Message 6 of 6 (761 Views)

Re: To-lin Lisp - Exports linetypes to a new *.lin file

02-08-2013 04:08 AM in reply to: bodhran

Try with this, i  test it only once and it suppose to alert you where is your file located.

 

 I just added these two lines:

 

(setq fileloc (findfile "newlt.lin"))
(alert (strcat "Your file location: " fileloc))

 

 

And try to set  variable  REMEMBERFOLDERS to 0,

if it is set to 0 your file will be saved at the same folder where is the drawing which you opened.

 

 

 

 

 

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community