<?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 How to get rule-set value (attribute value set by CityEngine rule CGA) in python script? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-get-rule-set-value-attribute-value-set-by/m-p/388781#M5354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to write some scripts for calculation in python, which need first read the values of the attributes (such as height, area etc.) of the shapes set in CityEngine. I can get the value of the 'Object Attributes' (user set value of attribute) by 'ce.getAttribute(height)' for example, but if the value of attribute is set by CGA rule, it doesn't work. I tried to create 'Reports' by CGA and then in python to read the value in 'Reports', but cannot figure out what to do in python scripts.&lt;/P&gt;&lt;P&gt;Any help would be great, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2017 06:59:18 GMT</pubDate>
    <dc:creator>zhenhe</dc:creator>
    <dc:date>2017-08-04T06:59:18Z</dc:date>
    <item>
      <title>How to get rule-set value (attribute value set by CityEngine rule CGA) in python script?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-get-rule-set-value-attribute-value-set-by/m-p/388781#M5354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to write some scripts for calculation in python, which need first read the values of the attributes (such as height, area etc.) of the shapes set in CityEngine. I can get the value of the 'Object Attributes' (user set value of attribute) by 'ce.getAttribute(height)' for example, but if the value of attribute is set by CGA rule, it doesn't work. I tried to create 'Reports' by CGA and then in python to read the value in 'Reports', but cannot figure out what to do in python scripts.&lt;/P&gt;&lt;P&gt;Any help would be great, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 06:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-get-rule-set-value-attribute-value-set-by/m-p/388781#M5354</guid>
      <dc:creator>zhenhe</dc:creator>
      <dc:date>2017-08-04T06:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rule-set value (attribute value set by CityEngine rule CGA) in python script?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-get-rule-set-value-attribute-value-set-by/m-p/388782#M5355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zhen He&lt;/P&gt;&lt;P&gt;Thank you for your question. Please have a look at the reply of &lt;A href="https://community.esri.com/people/CLau-esristaff"&gt;CLau-esristaff&lt;/A&gt;‌ in the &lt;A href="https://community.esri.com/thread/172315"&gt;adjust attr of CGA rule by python script&lt;/A&gt; thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 08:53:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-get-rule-set-value-attribute-value-set-by/m-p/388782#M5355</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2017-08-07T08:53:20Z</dc:date>
    </item>
  </channel>
</rss>

