you have to filter them yourself:
for edgeId in [e for e in traci.edge.getIDList() if e[0] != ":"]:

Am Do., 2. Apr. 2020 um 13:01 Uhr schrieb Bijal <[email protected]>:

> Dear Sir,
>
> When i locate edge in the netedit i found values like 1,2,3...for the
> edges, not like ":1_0" etc.
>
> using following:
>
> for edgeId in traci.edge.getIDList():
>
> I just want to list the edges which shows in edge locator of netedit
> (edgeId like integer values only).
>
> Please help me how to do it?
>
> --
> *:)*
> Bijal Varia
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to