POST
|
Okay in continue my conversation with myself ;-> I realize that setAttribute should be passed a list of "streetWidth" values something like: def setStreetWidth(name,edges): count = 0 edgeList = edges*[0] while (count < edges): attr = "streetWidth" edgeList[count] = 1 count += 1 ce.setAttribute(name,attr,edgeList) -Jack Hello guy, We found your scrip very helpful , but we're having some trouble with it. When we tried to run it, the system returns a report error at the line that contains "count = 0" This first problem we solved by tabulating the line. But the script is still not working. Althought it showed no more line erros, then we discovered that the tabulating could solve the script erros. Otherwise, now the script runs, but it doesn't work, I mean after running the script the static shapes didn't get any new attibute "streetWidth". Could you help's? thanks in advance...
... View more
07-03-2012
02:25 PM
|
0
|
0
|
291
|
POST
|
hi folks, Well and if I'm working with imported shapes?... what should I do so it recognizes the street side of the lot? and if I have corner lot, would it recognizes the both street sides as front sides? thanks... 😉
... View more
06-28-2012
04:50 PM
|
0
|
0
|
1073
|
POST
|
- How can we make the City Engine recognize the street sides in order to define the front part (the frontal setbacks) of the lot? - In the same search, how can we define that the lot has two frontal sides in order to produce two frontal setbacks with a value different from the others setbacks? Lets explain: We are working with a static shape of lots, imported as "shape file" from ArcGis. We observed that when the City Engine produces the lots as blocks, he defines the "street side" and the "nostreetside" (dynamic block). This definition of streets side doesn´t happen when we have a static lot. But we need to define the street sides so when can to the setbacks with different values. Can anybody help us?! Thanks! 😉
... View more
06-28-2012
03:47 PM
|
0
|
3
|
830
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|