Thread Previous • Date Previous • Date Next • Thread Next |
It is not very clear for me how postLoad should be used in this situation. What will happen if the engine is created and used straight away without saving/loading : file not opened? I don't see it used in Recorder.
Oops, sorry, Recorder does not use it.postLoad is called after construction from python, after loading, or after modifying an attribute that has Attr::triggerPostLoad flag set. See Cell for a better example, or Facet. For instance, if you set Attr::triggerPostLoad to the filename to save to, you will be able to change output filename during the simulation, and it will go to the new file seamlessly.
Cheers, v.
Thread Previous • Date Previous • Date Next • Thread Next |