<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pro Layout gives corrupt Python CIM .getDefinition(). Is there a way to fix the definition? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pro-layout-gives-corrupt-python-cim-getdefinition/m-p/1001864#M59063</link>
    <description>&lt;P&gt;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 &lt;EM&gt;numeric&amp;nbsp;&lt;/EM&gt;value it was set to NaN. I have experienced some Pro bugs with heavy element group within groups and imagine this is something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
                "type" : "CIMGroupElement",
                "anchor" : "BottomLeftCorner",
                "name" : "Population Density",
                "visible" : true,
                "rotationCenter" : {
                  "x" : "NaN",
                  "y" : "NaN"
                }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Nov 2020 19:37:09 GMT</pubDate>
    <dc:creator>JoshuaPust</dc:creator>
    <dc:date>2020-11-16T19:37:09Z</dc:date>
    <item>
      <title>Pro Layout gives corrupt Python CIM .getDefinition(). Is there a way to fix the definition?</title>
      <link>https://community.esri.com/t5/python-questions/pro-layout-gives-corrupt-python-cim-getdefinition/m-p/1001843#M59061</link>
      <description>&lt;P&gt;I have created a template in Pro and want to get original cim Definition so that I can automate setDefinition changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;lyt.getDefinition('V2') &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns &lt;EM&gt;"RuntimeError: Point: Input value is not numeric".&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 18:39:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pro-layout-gives-corrupt-python-cim-getdefinition/m-p/1001843#M59061</guid>
      <dc:creator>JoshuaPust</dc:creator>
      <dc:date>2020-11-16T18:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pro Layout gives corrupt Python CIM .getDefinition(). Is there a way to fix the definition?</title>
      <link>https://community.esri.com/t5/python-questions/pro-layout-gives-corrupt-python-cim-getdefinition/m-p/1001864#M59063</link>
      <description>&lt;P&gt;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 &lt;EM&gt;numeric&amp;nbsp;&lt;/EM&gt;value it was set to NaN. I have experienced some Pro bugs with heavy element group within groups and imagine this is something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
                "type" : "CIMGroupElement",
                "anchor" : "BottomLeftCorner",
                "name" : "Population Density",
                "visible" : true,
                "rotationCenter" : {
                  "x" : "NaN",
                  "y" : "NaN"
                }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 19:37:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pro-layout-gives-corrupt-python-cim-getdefinition/m-p/1001864#M59063</guid>
      <dc:creator>JoshuaPust</dc:creator>
      <dc:date>2020-11-16T19:37:09Z</dc:date>
    </item>
  </channel>
</rss>

