Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add functions to add / remove views #11760

Closed
namdre opened this issue Oct 4, 2022 · 2 comments
Closed

add functions to add / remove views #11760

namdre opened this issue Oct 4, 2022 · 2 comments

Comments

@namdre
Copy link
Contributor

namdre commented Oct 4, 2022

traci.gui.addView(viewID, settingsID="")
traci.gui.removeView(viewID)

@namdre namdre self-assigned this Oct 4, 2022
namdre added a commit that referenced this issue Oct 4, 2022
@namdre namdre closed this as completed in acf11eb Oct 4, 2022
namdre added a commit that referenced this issue Oct 27, 2022
namdre added a commit that referenced this issue Oct 27, 2022
@ricardofdc
Copy link

I'm getting the following error:

self.sumo.gui.addView(self.id)
AttributeError: 'GuiDomain' object has no attribute 'addView'

why is this happening? what should I do to add a View? Do I need to update something?

@namdre
Copy link
Contributor Author

namdre commented Oct 28, 2022

You need the dev version (https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants