Author Topic: Select Reference File Folder  (Read 1631 times)

0 Members and 1 Guest are viewing this topic.

Vince

  • Newt
  • Posts: 55
Select Reference File Folder
« on: February 19, 2015, 08:25:09 AM »
Hi Swamp Members,

When using the Xattach command option......Is there a way to set the folder location where the "Select Reference File" dialog opens....??  For example if the current drawing files is saved in a specific project folder such as (R:\NY\12345\Dwgs\Struct)  When the Xattach command is given I would want the Select Reference File dialog open to this folder as a starting point.

Any assistance will be appreciated....!!


Regards,
Vince

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Select Reference File Folder
« Reply #1 on: February 19, 2015, 09:20:45 AM »
my 2cents, re-difine the Xattach command in the on-open lisp, calling the getfiled function before the command  and set switches to that location....

or create a similar named command example Xattach2, I'd start it with the Xattach so it appears in the tooltip list as you are typing it, just below the normal Xattach command.

jvillarreal

  • Bull Frog
  • Posts: 332
Re: Select Reference File Folder
« Reply #2 on: February 19, 2015, 10:01:40 AM »

ronjonp

  • Needs a day job
  • Posts: 7529
Re: Select Reference File Folder
« Reply #3 on: February 19, 2015, 10:14:51 AM »

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Vince

  • Newt
  • Posts: 55
Re: Select Reference File Folder
« Reply #4 on: February 19, 2015, 04:23:46 PM »
Thank you guys......I used the code and it works great....!!

I really appreciate  your help.


Vince