I have a need to run a data extraction every night at lets say 2am and have it save to a .csv file. Does anyone know of an easy way I can do that?
Create a script file that has your data extraction commands in it. Now in Windows control panel create a scheduled task to launch AutoCAD using the /b switch followed by the name of the script file.
I've been trying to write that script... but can't get it to work. Is there a place I can go to get a working similar script and alter it.
A script file is just a list of commands like you would type on the command line in AutoCAD. A script can't interact with a dialog box, so you need to use the command line version of each command. Just go through the operation manually using the command line, then open Notepad and type each command line entry on its own line (no spaces). Save it with a .scr extension. To test it type SCRIPT in AutoCAD and select the file.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register