Python streetWidth Hack

11-08-2011 07:17 PM
New Contributor II
Hi All  - I really mean Matthias 🙂

I am trying to write a python script which will allow me for force a streetWidth attribute for all edges on a shape so I can go in an manually set the street edges later. This is to help me with the troublesome sites which aren't picked up with the script you created a little while back.

I have tried to write the script up myself and have so far been able to create a streetWidth object attribute for each edge of the shape, the only trouble is I have obviously missed out on implementing the parts of the script which tell CE to assign these attributes to the edges. Please find the draft script attached.

You help is much appreciated.
Tags (3)
2 Replies
Frequent Contributor II
hi ..

you sure you want to set those via script and not via Shapes Menu : Set Street Edge ?

if you're doing this manually, this may be the easier way...

lemme know 🙂
0 Kudos
New Contributor II
Thanks Matt!

I did not know that built in function even existed 😮 I have been using CE for about 1 and a half years now and still finding little gems!


0 Kudos