Now I have a rule file for buildings. I want to use python scripts to change the color of roof. How can I achieve this.
I know we can use statement like
"selectedSegments = ce.getObjectsFrom(ce.selection, ce.isGraphSegment)
for segment in selectedSegments:
oldWidth = ce.getAttribute(segment, "/ce/street/streetWidth")
newWidth = oldWidth+increment
ce.setAttribute(segment, "/ce/street/streetWidth", newWidth)"
But please tell me where can I find the location of 'color'?