BTLeslie

attribute as rule name

Discussion created by BTLeslie on Jan 2, 2014
Latest reply on Jan 3, 2014 by MBuehler-esristaff
Is there anyway to use an attribute value in a rule name.

i.e. ??...maybe the code would be something like this...??

attr aerialImage = "Town.tif"
attr townName = removeLast4Char(aerialImage) #I need some function to get just the town name from the aerial name

roofTop-->
setupProjection(0,world.xz,aerialSizeX,-aerialSizeZ,aerialOffsetX,aerialOffsetZ)
projectUV(0)
texture(aerialImage)
townName++roofTop.
#so I can use the town name like this, the aim being that I see it in the geometry name when I export

Outcomes