<?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: is it possible to set terrain (AttributeLayer) resolution using python? (from default 1024x1024 to 4096x4096) in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570352#M7695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi Thomas,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;thanks for reply. I don't think it is a Python limitation (but maybe I am wrong) because when I repeat this process by hand It also creates terrain with default resolution of 1024x1024. And I can manually increase the terrain to 4096x4096. And I was wondering if same could be done using some method in python.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Well I understand using higher resolutions will slow down everything but we are already using tiled approach and can't lower tile size any more thus we need high resolution of&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;4096x4096 and looks like my machine can take this without slowing down everthing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;so is there any option/method in python that can do it? I thought everthing that can be done manually can also be done automatically using python. Maybe the functionality is there (because for example setAttributeLayerExtents is implemented and does similiar job) but somebody just forgot to document this particular feature&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2017 08:56:02 GMT</pubDate>
    <dc:creator>MarekDekys</dc:creator>
    <dc:date>2017-07-07T08:56:02Z</dc:date>
    <item>
      <title>is it possible to set terrain (AttributeLayer) resolution using python? (from default 1024x1024 to 4096x4096)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570350#M7693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to create new terrain (CE calls it attribute layer) using:&lt;/P&gt;&lt;DIV class=""&gt;&lt;TABLE border="0" cellpadding="2" cellspacing="0" summary="section" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="2" cellspacing="0" summary="section" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DL&gt;&lt;DT&gt;&lt;A name="CE-addAttributeLayer"&gt;&lt;/A&gt;&lt;STRONG&gt;addAttributeLayer&lt;/STRONG&gt;(self, name, texture&lt;SPAN style="color: #909090;"&gt;=None&lt;/SPAN&gt;, heightmap&lt;SPAN style="color: #909090;"&gt;=None&lt;/SPAN&gt;, useGeoRef&lt;SPAN style="color: #909090;"&gt;=False&lt;/SPAN&gt;)&lt;/DT&gt;&lt;/DL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;and I can also change the terrain dimensions and positions using:&lt;/P&gt;&lt;DIV class=""&gt;&lt;TABLE border="0" cellpadding="2" cellspacing="0" summary="section" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="2" cellspacing="0" summary="section" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DL&gt;&lt;DT&gt;&lt;A name="CE-setAttributeLayerExtents"&gt;&lt;/A&gt;&lt;STRONG&gt;setAttributeLayerExtents&lt;/STRONG&gt;(self, layer, extents)&lt;/DT&gt;&lt;/DL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;But I haven't found any information in documentation about how to set terrain resolution from default (1024x1024) to 4096x4096 using python script.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="359217" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/359217_pastedImage_1.jpg" style="width: 234px; height: 160px;" /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something or this feature isn't implemented yet? (so I have to do it manually)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why I need this is to automatically generate lots of CE projects (each will use it's own terrain tile + vector data) and automatically preprocess terrain (in full resolution) and doing this manually will take forever..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;One incoplete workaround would be to:&lt;/STRONG&gt; copy existing scene file containing only terrain layer with correctly set resolution and then change the other things (terrain coordinates and dimensions using: setAttributeLayerExtents )&lt;/P&gt;&lt;P&gt;but I also need to change elevation map and texture location and I'm not sure if this is possible either (haven't found information about it in documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 10:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570350#M7693</guid>
      <dc:creator>MarekDekys</dc:creator>
      <dc:date>2017-06-29T10:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to set terrain (AttributeLayer) resolution using python? (from default 1024x1024 to 4096x4096)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570351#M7694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a limitation with Python the terrain sampling is reduced to 1024x1024&lt;/P&gt;&lt;P&gt;If a higher sampling is needed, please use a tiling approach by adding multiple terrain layers with reduced extend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 14:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570351#M7694</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2017-06-30T14:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to set terrain (AttributeLayer) resolution using python? (from default 1024x1024 to 4096x4096)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570352#M7695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi Thomas,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;thanks for reply. I don't think it is a Python limitation (but maybe I am wrong) because when I repeat this process by hand It also creates terrain with default resolution of 1024x1024. And I can manually increase the terrain to 4096x4096. And I was wondering if same could be done using some method in python.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Well I understand using higher resolutions will slow down everything but we are already using tiled approach and can't lower tile size any more thus we need high resolution of&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;4096x4096 and looks like my machine can take this without slowing down everthing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;so is there any option/method in python that can do it? I thought everthing that can be done manually can also be done automatically using python. Maybe the functionality is there (because for example setAttributeLayerExtents is implemented and does similiar job) but somebody just forgot to document this particular feature&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 08:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570352#M7695</guid>
      <dc:creator>MarekDekys</dc:creator>
      <dc:date>2017-07-07T08:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to set terrain (AttributeLayer) resolution using python? (from default 1024x1024 to 4096x4096)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570353#M7696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately there is no way to increase the resolution with python - this is a missing feature.&lt;/P&gt;&lt;P&gt;I'm aware it is possible in the user interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 17:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/is-it-possible-to-set-terrain-attributelayer/m-p/570353#M7696</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2017-08-23T17:22:36Z</dc:date>
    </item>
  </channel>
</rss>

