When starting sumo you can set the option --window-size and --window-pos However, you cannot currently control the position and size of the viewports within the window via traci or options.
Am So., 24. Mai 2020 um 22:52 Uhr schrieb Aleksandr Korshunov < korshunov.sa...@gmail.com>: > Can I also set how windows are located? > > I want to make screenshots, but if I have several viewports, the > screenshots have different sizes depending on the number of viewports. I > cannot set static width and height in traci.gui.screenshot method, because > in different scenarios, I have a different number of viewports. > > The best option for me is having only one visible viewport, so as I > understood, they all will have the same size - the whole screen. But I do > not know how to set it with traci... > > > On Sun, May 24, 2020 at 10:57 PM Aleksandr Korshunov < > korshunov.sa...@gmail.com> wrote: > >> Works! Thank you. >> >> On Sun, May 24, 2020 at 9:58 PM Jakob Erdmann <namdre.s...@gmail.com> >> wrote: >> >>> use <gui-settings-file value="file1,file2,file3"/> >>> >>> regards, >>> Jakob >>> >>> Am Sa., 23. Mai 2020 um 05:38 Uhr schrieb Aleksandr Korshunov < >>> korshunov.sa...@gmail.com>: >>> >>>> Hello, >>>> >>>> I want to set several viewports for a sumo-gui simulation. >>>> I prepared XML files for each viewport, but when I defined them in sumo >>>> configuration file, sumo-gui failed. >>>> >>>> I tried this way: >>>> __________ >>>> <configuration> >>>> <input> >>>> <net-file value="path/to//network.net.xml"/> >>>> <route-files value="path/to/routes.rou.xml"/> >>>> <gui-settings-file value="path/to/__gui-settings_1.cfg"/> >>>> <gui-settings-file value="path/to/__gui-settings_2.cfg"/> >>>> <gui-settings-file value="path/to//__gui-settings_3.cfg"/> >>>> </input> >>>> etc... >>>> __________ >>>> >>>> and this way: >>>> __________ >>>> <configuration> >>>> <input> >>>> <net-file value="path/to//network.net.xml"/> >>>> <route-files value="path/to/routes.rou.xml"/> >>>> <gui-settings-file value="path/to/__gui-settings_1.cfg" >>>> "path/to/__gui-settings_2.cfg" "path/to//__gui-settings_3.cfg"/> >>>> </input> >>>> etc... >>>> __________ >>>> >>>> How do I need to define them properly? >>>> >>>> -- >>>> >>>> *Regards,Korshunov Aleksandr* >>>> Phone number: +972-50-48-50-222, +7-903-906-82-30 >>>> korshunov.sa...@gmail.com >>>> _______________________________________________ >>>> sumo-user mailing list >>>> sumo-user@eclipse.org >>>> To unsubscribe from this list, visit >>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> sumo-user@eclipse.org >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> >> >> -- >> >> *Regards,Korshunov Aleksandr* >> Phone number: +972-50-48-50-222, +7-903-906-82-30 >> korshunov.sa...@gmail.com >> > > > -- > > *Regards,Korshunov Aleksandr* > Phone number: +972-50-48-50-222, +7-903-906-82-30 > korshunov.sa...@gmail.com > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user