I have created a template in Pro and want to get original cim Definition so that I can automate setDefinition changes.
lyt.getDefinition('V2')
returns "RuntimeError: Point: Input value is not numeric".
After 15min of cascading deletion of element groups/elements and getDefinition() after every delete, I found a Group element (CIMGroupElement) that didn't have a rotationCenter x,y set where it was expecting a numeric value it was set to NaN. I have experienced some Pro bugs with heavy element group within groups and imagine this is something similar.
{ "type" : "CIMGroupElement", "anchor" : "BottomLeftCorner", "name" : "Population Density", "visible" : true, "rotationCenter" : { "x" : "NaN", "y" : "NaN" }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.