<?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: How to call the height value of the shp file data and give the building height value in cga or python. in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183035#M10543</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can find information on how to 'connect attributes' in cga here:&lt;/P&gt;&lt;P&gt;&lt;A title="https://doc.arcgis.com/en/cityengine/latest/help/help-inspector.htm#ESRI_SECTION1_5050267501F04FC28BB58C6E82C6866C" href="https://doc.arcgis.com/en/cityengine/latest/help/help-inspector.htm#ESRI_SECTION1_5050267501F04FC28BB58C6E82C6866C" target="_self"&gt;https://doc.arcgis.com/en/cityengine/latest/help/help-inspector.htm#ESRI_SECTION1_5050267501F04FC28BB58C6E82C6866C&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you are looking for.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 08:29:33 GMT</pubDate>
    <dc:creator>plfontes</dc:creator>
    <dc:date>2022-06-15T08:29:33Z</dc:date>
    <item>
      <title>How to call the height value of the shp file data and give the building height value in cga or python.</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183004#M10541</link>
      <description>&lt;P&gt;How to call the height value of the shp file data and give the building height value in cga or python.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leehwichan_0-1655264988625.png" style="width: 769px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43504i1145B4588918E71A/image-dimensions/769x419?v=v2" width="769" height="419" role="button" title="leehwichan_0-1655264988625.png" alt="leehwichan_0-1655264988625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 03:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183004#M10541</guid>
      <dc:creator>leehwichan</dc:creator>
      <dc:date>2022-06-15T03:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to call the height value of the shp file data and give the building height value in cga or python.</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183035#M10543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can find information on how to 'connect attributes' in cga here:&lt;/P&gt;&lt;P&gt;&lt;A title="https://doc.arcgis.com/en/cityengine/latest/help/help-inspector.htm#ESRI_SECTION1_5050267501F04FC28BB58C6E82C6866C" href="https://doc.arcgis.com/en/cityengine/latest/help/help-inspector.htm#ESRI_SECTION1_5050267501F04FC28BB58C6E82C6866C" target="_self"&gt;https://doc.arcgis.com/en/cityengine/latest/help/help-inspector.htm#ESRI_SECTION1_5050267501F04FC28BB58C6E82C6866C&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you are looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 08:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183035#M10543</guid>
      <dc:creator>plfontes</dc:creator>
      <dc:date>2022-06-15T08:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to call the height value of the shp file data and give the building height value in cga or python.</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183381#M10547</link>
      <description>&lt;P&gt;/**&lt;BR /&gt;* File: simpleBuildingAgain.cga&lt;BR /&gt;* Created: 15 Jun 2022 06:23:37 GMT&lt;BR /&gt;* Author: user&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;version "2019.1"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;attr Building_Heignt = 20&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;@StartRule&lt;BR /&gt;Lot --&amp;gt;&lt;BR /&gt;extrude(world.y, Building_Heignt)&lt;BR /&gt;BuildingMass&lt;BR /&gt;&lt;BR /&gt;BuildingMass --&amp;gt;&lt;BR /&gt;comp(f) {side : Facade | top : Roof}&lt;BR /&gt;&lt;BR /&gt;Roof --&amp;gt;&lt;BR /&gt;setupProjection(0, scope.xy, scope.sx, scope.sy)&lt;BR /&gt;projectUV(0)&lt;BR /&gt;texture("roofs/roof.tif")&lt;BR /&gt;&lt;BR /&gt;attr Groundfloor_Height = 5&lt;BR /&gt;attr Upperfloor_Height = 3&lt;/P&gt;&lt;P&gt;WallSidePart_Width = 1&lt;/P&gt;&lt;P&gt;//texture("facades/textures/brickwall.jpg")&lt;BR /&gt;//texture("facades/textures/dirtmap.15.tif")&lt;BR /&gt;//texture("facades/textures/brickwall normal.jpg")&lt;BR /&gt;Facade --&amp;gt;&lt;BR /&gt;setupProjection(0, scope.xy, -1, -0.5)&lt;BR /&gt;projectUV(0)&lt;BR /&gt;texture("facades/textures/brickwall.jpg")&lt;BR /&gt;setupProjection(2, scope.xy, scope.sx, scope.sy)&lt;BR /&gt;projectUV(2)&lt;BR /&gt;set (material.dirtmap, ("facades/textures/dirtmap.15.tif"))&lt;BR /&gt;setupProjection(3, scope.xy, scope.sx, scope.sy)&lt;BR /&gt;projectUV(3)&lt;BR /&gt;set (material.normalmap, ("facades/textures/brickwall normal.jpg"))&lt;BR /&gt;split(x) {WallSidePart_Width : Wall | ~1 : Facade_Main | WallSidePart_Width : Wall}&lt;/P&gt;&lt;P&gt;Facade_Main --&amp;gt;&lt;BR /&gt;split(y) {Groundfloor_Height : Floor | ~1 : Upper_Floors }&lt;BR /&gt;&lt;BR /&gt;Upper_Floors --&amp;gt;&lt;BR /&gt;split(y) {~Upperfloor_Height : Floor }*&lt;BR /&gt;&lt;BR /&gt;attr Tile_Width = 5&lt;/P&gt;&lt;P&gt;Floor --&amp;gt;&lt;BR /&gt;split(x) {~Tile_Width : Tile}*&lt;BR /&gt;&lt;BR /&gt;attr Tile_side_Width = 1.5&lt;BR /&gt;&lt;BR /&gt;Tile --&amp;gt;&lt;BR /&gt;split(x) {Tile_side_Width : Wall | ~1 : Tile_Main | Tile_side_Width : Wall}&lt;BR /&gt;&lt;BR /&gt;attr Window_BaseHeight = 0.9&lt;BR /&gt;attr Window_Hegiht = 1.4&lt;/P&gt;&lt;P&gt;Tile_Main --&amp;gt;&lt;BR /&gt;split(y) {Window_BaseHeight : Wall |Window_Hegiht: Window | ~1 : Wall}&lt;BR /&gt;&lt;BR /&gt;texName = fileRandom("window/sash_window_*.jpg")&lt;/P&gt;&lt;P&gt;Window--&amp;gt;&lt;BR /&gt;setupProjection(0, scope.xy, scope.sx, scope.sy)&lt;BR /&gt;projectUV(0)&lt;BR /&gt;texture(texName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I wrote a script like this and I don't know where to fix it.)&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 01:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183381#M10547</guid>
      <dc:creator>leehwichan</dc:creator>
      <dc:date>2022-06-16T01:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to call the height value of the shp file data and give the building height value in cga or python.</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183459#M10548</link>
      <description>&lt;P&gt;Try to connect the object attribute to the model by matching attribute names.&amp;nbsp;Change your attribute name on your code from &lt;EM&gt;'&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;attr Building_Heignt = 20'&lt;/EM&gt; to &lt;EM&gt;'attr NMLY = 20'&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe CE will use the value '20' only if it doesn't get any value from the object's attribute.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 09:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-call-the-height-value-of-the-shp-file-data/m-p/1183459#M10548</guid>
      <dc:creator>plfontes</dc:creator>
      <dc:date>2022-06-16T09:10:07Z</dc:date>
    </item>
  </channel>
</rss>

