this command saves the databse, right ? I would need a command which checks if the database is modified and not saved yet. So basically a flag for pending changes.
If writing Skill code use axlSaveEnable(nil).
You can also run your program on the active database by checking out axlRunBatchDBProgram
Patrick Escher wrote: > Is it possible to detect if a layout in Allegro PCB 15.x has pending > changes which have not been saved yet to the layout database ? > Getting a 'boolean' value is sufficient. > Any flag, console command or Allegro Skill command how this can be > detected. > > Usecase: > > we have a program which uses the layout database for some > postprocessing. The program is at the moment triggered fromthe Allegro > menu and it reads the layout database file. > So we want to make sure, that the program uses the latest database > file the user is currently working on. If the layout is modified but > not saved, we want to bring up a warning dialog/message to the user > asking for a couple of options. we do not want to force automatically > a databse save ( by e.g. console command) > > regards > > Patrick ----------------------------------------------------------- To subscribe/unsubscribe: Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx with a subject of subscribe or unsubscribe
To view the archives of this list go to //www.freelists.org/archives/icu-pcb-forum/
Problems or Questions: Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx -----------------------------------------------------------