Map Attributes from rules

Discussion created by rhexter on Apr 28, 2012
Latest reply on Apr 30, 2012 by MBuehler-esristaff
How do I have a cga rule attribute retrieve and use a value from a particular source Layer, if I do not want to set a shapes attribute source manually in the Inspector?(I may want to use different image maps (sources) to control a particular attribute under different rule conditions)

cgaFile - pseudoCode:

attr value=getValueFromLayer(Layer, Layer_Attribute)
attr height=getValueFromLayer("map1", "buildingHeight")

Sorry if this is very obvious, I'm getting lost in the help documentation and the way some of it is written.