On Thu, Apr 11, 2013 at 8:35 PM, Jean-Yves LEBLEU wrote:
> 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 ....

Hi Jean-Yves,

It is strange that the conditions are not evaluated.  Have you had a look
using the property browser to see if the property structure is as you would
expect?

It might be worth trying deleting the /sim/checklists node first,
something like:

props.globals.getNode("/sim").removeChild("checklists");

-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

Reply via email to