Message 1 of 5
File dialog (for new OR existing file)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've used the GETFILED function in the past to select an existing file or to create a new one. But is there a way to prompt for a filename:
- if the chosen file DOES NOT EXIST, return the filename but indicate it doesn't exist yet;
- if the chosen file DOES EXIST, ask the user if they want to overwrite it, append it or choose a different file;
and then the lisp routine will continue to process the file based on the information provided?
I'm working on a lisp routine to export a linetype. I want the user to select a filename. If the file does not exist, a new file will be generated. If the file does exist, I want the user to choose between overwriting it or appending it OR CHOOSING a different file.
I don't see a way to do this but I'm hoping someone has found a way.
Don Ireland
Engineering Design Technician
If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.
Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.