+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Senior Member
    Computer Details
    nicolas's Computer Details
    Operating System:
    Windows 7
    Computer:
    Intel Dual Core 64 Bits
    RAM:
    2 GB
    Using
    AutoCAD 2012
    Join Date
    Jan 2008
    Location
    Port Louis, Republic of Mauritius
    Posts
    376

    Default Batch Find and Replace Autolisp

    Registered forum members do not see this ad.

    Hi everybody,

    Regarding Autolisp file: BFIND v2.0 by Lee Mac: I want to know if there is a way to retry the file where the saved datum is stored for backup purpose as well as using it on another PC?

    Thanks you in advance,

    Regards,

    Nicolas.

  2. #2
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,967

    Default

    Seems that should look for those files: "LMAC_BFind_V2-0.cfg" and "LMAC_BFind_SavedSearches_V2-0.txt".
    Since those are saved in user's Support folder, then you may need to activate visibility of hidden/system folders on your workstation. To find that location just paste the line below on AutoCAD's command prompter.
    Code:
    (_GETSAVEPATH)
    I got that by parsing the said code, so Lee may want to correct me.
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  3. #3
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    16,878

    Default

    Thanks Mircea,

    Since (_GetSavePath) is local to the program, it will be inaccessible outisde of the scope of the c:bfind function, however, the searches should be saved in a Support Path, so you can find the file by typing:

    Code:
    (findfile "LMAC_BFind_SavedSearches_V2-0.txt")
    at the command-line.
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  4. #4
    Senior Member
    Computer Details
    nicolas's Computer Details
    Operating System:
    Windows 7
    Computer:
    Intel Dual Core 64 Bits
    RAM:
    2 GB
    Using
    AutoCAD 2012
    Join Date
    Jan 2008
    Location
    Port Louis, Republic of Mauritius
    Posts
    376

    Default

    Thanks Lee Mac and Mircea for your help. I was able to find and backup the file. That program is a life-saver with amazing options. Many thanks to Lee Mac and please continue with the good work.

  5. #5
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    16,878

    Default

    Registered forum members do not see this ad.

    Thanks nicolas! I'm glad you find it useful!
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

Similar Threads

  1. Batch Find & Replace Text
    By Lee Mac in forum AutoLISP, Visual LISP & DCL
    Replies: 282
    Last Post: 30th Apr 2014, 10:46 pm
  2. VBA - Find and Replace
    By -KarL- in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 7th Jan 2013, 04:37 pm
  3. Batch block(s) replace in multiply dwgs lisp?
    By mdbdesign in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 16th Dec 2011, 04:15 pm
  4. Replies: 6
    Last Post: 13th Jul 2011, 02:19 pm
  5. Find and Replace
    By gil9166 in forum AutoCAD General
    Replies: 2
    Last Post: 2nd Aug 2009, 10:37 pm

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts