• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Visual LISP, AutoLISP and General Customization

    Reply
    Valued Contributor
    bodhran
    Posts: 69
    Registered: ‎10-14-2010

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

    169 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!!

    Please use plain text.
    Active Contributor
    dicra
    Posts: 34
    Registered: ‎02-20-2011

    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.

    Please use plain text.
    Valued Contributor
    bodhran
    Posts: 69
    Registered: ‎10-14-2010

    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!!
    Please use plain text.
    Active Contributor
    dicra
    Posts: 34
    Registered: ‎02-20-2011

    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

    Please use plain text.
    Valued Contributor
    bodhran
    Posts: 69
    Registered: ‎10-14-2010

    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!
    Please use plain text.
    Active Contributor
    dicra
    Posts: 34
    Registered: ‎02-20-2011

    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.

     

     

     

     

     

     

    Please use plain text.