<?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 Python - Take parameter value set as attribute in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/python-take-parameter-value-set-as-attribute/m-p/607912#M8129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to export a shape file with a height attribute from CityEngine. Instead of me manually checking every buildings height and apply as an attribute to that shape, I'm trying to write a script that does it for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is that the script goes through all shapes, check if they have a sertain rule attached, take the height value, create a attribute and insert the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that the command getAttribute() only takes a user-set value, so if you haven't manually inserted a height, the value getAttribute() takes will not be correct. I'm using CityEngine 2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get this to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2020 08:57:42 GMT</pubDate>
    <dc:creator>EmanuelBjörsell</dc:creator>
    <dc:date>2020-06-09T08:57:42Z</dc:date>
    <item>
      <title>Python - Take parameter value set as attribute</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/python-take-parameter-value-set-as-attribute/m-p/607912#M8129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to export a shape file with a height attribute from CityEngine. Instead of me manually checking every buildings height and apply as an attribute to that shape, I'm trying to write a script that does it for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is that the script goes through all shapes, check if they have a sertain rule attached, take the height value, create a attribute and insert the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that the command getAttribute() only takes a user-set value, so if you haven't manually inserted a height, the value getAttribute() takes will not be correct. I'm using CityEngine 2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get this to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 08:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/python-take-parameter-value-set-as-attribute/m-p/607912#M8129</guid>
      <dc:creator>EmanuelBjörsell</dc:creator>
      <dc:date>2020-06-09T08:57:42Z</dc:date>
    </item>
  </channel>
</rss>

