<?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 Polygon (Align to terrain) in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579738#M7845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Polygons are not aligning to the terrain correctly and do not appear transparent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25085[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Temporary workaround:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I burned the cut block extents into texture.png and created the terrain based on the DEM. This achieves what I want visually (the ability to see the undulating curves of the terrain); however, I cannot query the attributes since it's a raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25086[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, I'd like to have polygons (cut blocks) draped on top of a terrain with transparency set (to see the terrain underneath) and be able to click on it to view the polygon ID, area, status...etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25090[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice would be much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2013 17:52:26 GMT</pubDate>
    <dc:creator>JeffShih</dc:creator>
    <dc:date>2013-06-06T17:52:26Z</dc:date>
    <item>
      <title>Polygon (Align to terrain)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579738#M7845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Polygons are not aligning to the terrain correctly and do not appear transparent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25085[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Temporary workaround:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I burned the cut block extents into texture.png and created the terrain based on the DEM. This achieves what I want visually (the ability to see the undulating curves of the terrain); however, I cannot query the attributes since it's a raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25086[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, I'd like to have polygons (cut blocks) draped on top of a terrain with transparency set (to see the terrain underneath) and be able to click on it to view the polygon ID, area, status...etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25090[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice would be much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 17:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579738#M7845</guid>
      <dc:creator>JeffShih</dc:creator>
      <dc:date>2013-06-06T17:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon (Align to terrain)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579739#M7846</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;SPAN&gt;I have tried to do the exact same thing to show a parcel shape on top of the terrain. Aligning 2D shapes to the terrain only works a little, as the edges of the polygon try to align but the 2D plane of the polygon does not warp very well to the terrain. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The best work around I have is to just extract the border of the polygon using cga rules and float it&amp;nbsp; slightly above the terrain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(See my examples)&amp;nbsp; However, one would have to click on the border line to see any meta data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best, Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 20:04:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579739#M7846</guid>
      <dc:creator>ScottFujikawa</dc:creator>
      <dc:date>2013-06-06T20:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon (Align to terrain)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579740#M7847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crmltd-js&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the feedback Scott. It's nice to know that I'm not the only one struggling with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I go about extracting the border of the polygon using CGA rules?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 20:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579740#M7847</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-06-06T20:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon (Align to terrain)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579741#M7848</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;It take 2 rules &amp;amp; 2 steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First Rule:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;version "2012.1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr EdgeThickness = 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr SegmentLength = 6&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@StartRule&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shape--&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; offset(-EdgeThickness) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; comp(f) { inside: NIL | border: Border }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Border --&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; split(x) {SegmentLength: Segment}*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Segment --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; color("#FF0000")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After&amp;nbsp; you assign &amp;amp; generate a red line will appear. Zoom in real close &amp;amp; click to select the whole line. Then right click and "convert&amp;nbsp; models to shape"s. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then align the shapes to the terrain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then layer select the new shapes and assign the next rule:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;version "2012.1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr HeightOfBorder = 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@StartRule&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shape --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;color(1,0,0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this works for you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 20:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/polygon-align-to-terrain/m-p/579741#M7848</guid>
      <dc:creator>ScottFujikawa</dc:creator>
      <dc:date>2013-06-06T20:38:22Z</dc:date>
    </item>
  </channel>
</rss>

