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 (1,200 Views)

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

1200 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: 86
Registered: ‎02-20-2011
Message 2 of 6 (1,180 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 (1,174 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: 86
Registered: ‎02-20-2011
Message 4 of 6 (1,173 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 (1,146 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: 86
Registered: ‎02-20-2011
Message 6 of 6 (1,139 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.

 

 

 

 

 

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.