Open ejlchappin opened 5 years ago
Will add this feature in the next major version. Will take some code revision because export-interface
doesn't work in NetLogo headless mode, which is how models are currently executed. Thank you for the suggestion.
As a default, the view is exported with the command netlogo.command('export-view \"' + str(frame) + '.png\" ')
It would be good to have this as a default, but also have a parameter to export the world (including graphs). This should be possible by using the command if a 'export-world = true' flag. netlogo.command('export-world \"' + str(frame) + '.png\" ')
Possibly for this a subselection of coordinates would be useful (so part of the world could be exported.
Fabulous work!