Automate the save as proccess

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all
I am doing my first AutoCad project and have a couple of questions.
First a discription of what I am trying to acomplish...
I am extracting data from a drawing file, to do this I am converting the drawing to xml and then have a xml reader that extracts the data.
I am at the point where I run netload and extractall this then creates the xml but pops up a "Save as dialog/file browser" where I then have the option to give the xml file a name and to choose the directory.
I want to find a way to hard code the directory where the file saves and also give it a name, so no user input. It takes the name of the drawing file and name the xml the same (except of course for the file extention) then save it to a default directory.
Is there a way to access the API and accomplish this?
Also is there a way to close autocad automaticallly after the XML has been created?
I am very new to this so go easy on me please
Thanks in advance
Johan