Accessing rotation expression and engine via Python and CIM file?

149
0
10-04-2023 11:01 AM
GrantYoungH
New Contributor

I'm looking through a large amount of CIM files that host ~40 layers across hundreds of unique map documents. I've been unable to locate exactly where the Expression Engine is selected for the Rotation field in Symbology, though I've been able to locate the rotation field itself. 

within my "renderer" section, I have my VisualVariable and Y/Z variants, but how do I dig down into those within a line of code?

The example is given is below, but I am not using symbol. Should I be using type for this instead?

symLvl1 = cim_lyr.renderer.symbol.symbol.symbolLayers[0] symLvl1.color.values = [250, 250, 40, 50

If I change my "expression" under "visualVariableInfoZ" will I also need to change the expressionEngine elsewhere, and if so, where?

0 Kudos
0 Replies