<?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: Applying an attribute map to a model element in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645188#M8549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;yes, that is a current limitation. subshapes in the model hierarchy can not yet sample themselves. sadly.&lt;BR /&gt;&lt;BR /&gt;means the start shape only samples ONCE ( in the centroid ) and then, those attribute values stay constant for all subshapes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ok ?&lt;BR /&gt;&lt;BR /&gt;Matt&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way around this to be able to either average the mapped value overlapping the entire shape area (if raster) by sampling more than the centroid, or measure the area of the overlap with other shapes (vector), or flag if another shape is within the shape even if it doesn't cross the center? I'm finding that the occlusion and the mapping attribute starts to get there, but limited. Would this be possible with python?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 13:26:35 GMT</pubDate>
    <dc:creator>UkJung</dc:creator>
    <dc:date>2014-01-08T13:26:35Z</dc:date>
    <item>
      <title>Applying an attribute map to a model element</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645186#M8547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went through a CityEngine tutorial for applying colors from an attribute map to attributes in a cga rule file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is that when I try to apply attributes from a color map to parts of a model it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. I take a single Lot and subdivide it into smaller lots (SLots) via split rule. Then I define some attributes for SLots and try to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;control them through an attribute map, it doesnt work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do attribute maps work only on shapes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If they do, how could I overcome this problem? (without exploding a model into shapes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 21:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645186#M8547</guid>
      <dc:creator>MilosMandic</dc:creator>
      <dc:date>2013-11-27T21:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Applying an attribute map to a model element</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645187#M8548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, that is a current limitation. subshapes in the model hierarchy can not yet sample themselves. sadly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;means the start shape only samples ONCE ( in the centroid ) and then, those attribute values stay constant for all subshapes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 17:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645187#M8548</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-11-28T17:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Applying an attribute map to a model element</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645188#M8549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;yes, that is a current limitation. subshapes in the model hierarchy can not yet sample themselves. sadly.&lt;BR /&gt;&lt;BR /&gt;means the start shape only samples ONCE ( in the centroid ) and then, those attribute values stay constant for all subshapes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ok ?&lt;BR /&gt;&lt;BR /&gt;Matt&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way around this to be able to either average the mapped value overlapping the entire shape area (if raster) by sampling more than the centroid, or measure the area of the overlap with other shapes (vector), or flag if another shape is within the shape even if it doesn't cross the center? I'm finding that the occlusion and the mapping attribute starts to get there, but limited. Would this be possible with python?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645188#M8549</guid>
      <dc:creator>UkJung</dc:creator>
      <dc:date>2014-01-08T13:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Applying an attribute map to a model element</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645189#M8550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Occlusion won't work here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could write a python script that samples multiple times, then store multiple attributes. Though such 'shape analysis' usually should be done in ArcGIS, which is good in such things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the precise use case ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 15:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/applying-an-attribute-map-to-a-model-element/m-p/645189#M8550</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2014-01-08T15:39:23Z</dc:date>
    </item>
  </channel>
</rss>

