Hi Stuart
thanks for the clue :
This is what I did :
var checklist="777-200-checklists.xml";
var checklist_path=sprintf("%s/%s",getprop("/sim/aircraft-dir"),checklist);
print(checklist_path);
var data = io.read_properties(checklist_path,"/sim/checklists");
It does reload the checklists but conditions are not evaludated ....
JY
On Wed, Apr 10, 2013 at 11:01 PM, Stuart Buchanan <stuar...@gmail.com>wrote:
> Hi Jean-Yves,
>
> On Mon, Apr 8, 2013 at 8:27 PM, Jean-Yves LEBLEU wrote:
> > Hello,
> >
> > I have started to write checklists for 777, is there any way to reload
> the
> > checklist without restarting flightgear, I tried with shift-esc with no
> > success.
> > Or maybe there is a little nas script to do the trick ?
>
> Yes, this should be possible, provided your checklists are in a separate
> file.
>
> See Nasal/io.nas and the read_properties() function. There are some
> examples
> in the comments around line 67.
>
> -Stuart
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel