Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Edge List using Traci

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 <bijal.varia88@xxxxxxxxx>:
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
To unsubscribe from this list, visit

Back to the top