[PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
- From: "Patrick Escher" <patrick.escher@xxxxxxxxx>
- To: icu-pcb-forum@xxxxxxxxxxxxx
- Date: Wed, 13 Sep 2006 16:21:53 +0200
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.
2006/9/13, fxf <fxf@xxxxxxxxxxx>:
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
http://www.freelists.org/archives/icu-pcb-forum/
Problems or Questions:
Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
-----------------------------------------------------------
- Follow-Ups:
- References:
- [PCB_FORUM] detect a unsaved layout in Allegro PCB
- From: Patrick Escher
- [PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
- From: fxf
Other related posts:
- » [PCB_FORUM] detect a unsaved layout in Allegro PCB
- » [PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
- » [PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
- » [PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
- » [PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
- » [PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
If writing Skill code use axlSaveEnable(nil).
You can also run your program on the active database by checking out
axlRunBatchDBProgramPatrick 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 http://www.freelists.org/archives/icu-pcb-forum/
Problems or Questions: Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx -----------------------------------------------------------
- [PCB_FORUM] detect a unsaved layout in Allegro PCB
- From: Patrick Escher
- [PCB_FORUM] Re: detect a unsaved layout in Allegro PCB
- From: fxf