A question at another forum got me thinking, and realising that I do not completely understand the getfiled function all too well...
In the help files, it says to use an integer between 0 and 15 for the flags to set, however I personally have only ever used the bit values: 1, 4, 8, 16, 32, 64 & 128 for this purpose.
But this raises the question that, if you can use both, how does AutoCAD know whether you want bit code 8, or (3 + 5)?
Another thing: The help file options are very confusing as to which combination of bits mean that the filepath is stripped and which you should set for different purposes.
For example, I normally use bit 8 to prompt for an existing file to use, however, if the file is in the search path, it will strip the filepath - and so I would normally then use findfile to get the filepath back.
But, it mentions that you can set bit 1 (or 0?) to prevent it from searching the library and hence stripping the filepath... but that would mean it is prompting for a new file, which I wouldn't want......ahh the confusion!
I would be grateful to anyone who could point me in the right direction with this.. :ugly:
Many Thanks,
Lee