Greetings!
I have multiple shapefiles representing different transportation systems(roads, rail, waterways, etc.). These files have no attribute fields other than FID, Shape, ID. I want to color these layers in CityEngine by the transportation type to help with the visualization. I am curious if one rule file could be built to color each layer differently, or if I have to pre-process first in Arc.
Thanks!
-- S
Solved! Go to Solution.
I like the new layer colors, but they color the shapes, not the models. For coloring the models, bring the networks in, one per layer, and write a single rule to run on the street shapes created by CityEngine when the networks are imported. Or if these are polygons and not network lines, then the same applies.
attr myColor = "#FF0000"
@StartRule
StreetShape --> color(myColor)
Apply that rule to the shapes on each of your transit layers, and change the myColor attribute per each layer of shapes. No ArcGIS needed.
Hi Stephanie
Not quite sure if it fits your task but have a look at CityEngine 2015 option to assign colour to a layer. Have a look at this post. Zerg's rumble: What's new in CityEngine 2015
I like the new layer colors, but they color the shapes, not the models. For coloring the models, bring the networks in, one per layer, and write a single rule to run on the street shapes created by CityEngine when the networks are imported. Or if these are polygons and not network lines, then the same applies.
attr myColor = "#FF0000"
@StartRule
StreetShape --> color(myColor)
Apply that rule to the shapes on each of your transit layers, and change the myColor attribute per each layer of shapes. No ArcGIS needed.
Thanks, guys for your help!
--Stephanie