<?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: Scripted export model per leaf shape in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1364694#M11271</link>
    <description>&lt;P&gt;I'd like to know that is pyPRT supports @Out (granularity=separatedShapes) now?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 05:37:57 GMT</pubDate>
    <dc:creator>海洋2021</dc:creator>
    <dc:date>2023-12-28T05:37:57Z</dc:date>
    <item>
      <title>Scripted export model per leaf shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093225#M10278</link>
      <description>&lt;P&gt;I need to export some generated models to multipatch format using the per leaf shape option.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have no problem doing this t&lt;/SPAN&gt;&lt;SPAN&gt;hrough the UI, but I need to automate the process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a complimentary function available in the Python scripting interface to do this automatically?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 18:09:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093225#M10278</guid>
      <dc:creator>AndrewDeighton</dc:creator>
      <dc:date>2021-08-27T18:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted export model per leaf shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093481#M10280</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/22477"&gt;@AndrewDeighton&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;If I understand you correctly you did use the SLPK Exporter (Export Models -&amp;gt; Esri Scene Layer Package) in the UI. For the SLPK Exporter there is the &lt;EM&gt;SPKMeshExportModelSettings()&lt;/EM&gt; available in the python scripting interface, see:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/python/python-script-based-export.htm" target="_blank" rel="noopener"&gt;Script-based export—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/python/spk-mesh-export-model-settings.htm" target="_blank" rel="noopener"&gt;SPKMeshExportModelSettings—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 06:57:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093481#M10280</guid>
      <dc:creator>JonasObertuefer</dc:creator>
      <dc:date>2021-08-30T06:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted export model per leaf shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093533#M10281</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/456972"&gt;@JonasObertuefer&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/22477"&gt;@AndrewDeighton&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;If I understand you correctly you did use the SLPK Exporter (Export Models -&amp;gt; Esri Scene Layer Package) in the UI. For the SLPK Exporter there is the &lt;EM&gt;SPKMeshExportModelSettings()&lt;/EM&gt; available in the python scripting interface, see:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/python/python-script-based-export.htm" target="_blank" rel="noopener"&gt;Script-based export—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/python/spk-mesh-export-model-settings.htm" target="_blank" rel="noopener"&gt;SPKMeshExportModelSettings—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Jonas&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi Jonas,&lt;/P&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;I'm using the&amp;nbsp;&lt;SPAN&gt;FileGDB exporter as it seems to be the easiest 3D format to manipulate in ArcGIS and non-ArcGIS applications.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From the UI, the exporter allows me to set the granularity to "per leaf shape".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have already scripted the majority of the export in Python, but can't figure out how to set this "per leaf shape" flag in Python using FGDBExportModelSettings().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I should have mentioned I'm using CityEngine 2020 under an advanced license.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 11:24:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093533#M10281</guid>
      <dc:creator>AndrewDeighton</dc:creator>
      <dc:date>2021-08-30T11:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted export model per leaf shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093921#M10283</link>
      <description>&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;Currently the "per layer options" settings of the FileGDB exporter can't be set via the python scripting interface. So, right now the only option to set the &lt;EM&gt;feature granularity&lt;/EM&gt; in python is by using the SLPK Exporter, maybe you can build your workflow around it?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 09:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1093921#M10283</guid>
      <dc:creator>JonasObertuefer</dc:creator>
      <dc:date>2021-08-31T09:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted export model per leaf shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1097466#M10306</link>
      <description>&lt;P&gt;Hi Jonas,&lt;/P&gt;&lt;P&gt;Thanks again for the reply.&lt;/P&gt;&lt;P&gt;I've researched a little into the SLPK format and it seems that with this format, after export I cannot convert to multipatch or any other 3D format that can be interrogated/ manipulated in Python (needed for my workflow).&lt;/P&gt;&lt;P&gt;I've been toying with the idea of converting my .CGA rule files to RPKs and running them though PYPRT and setting the start rule annotation to the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@Out (granularity=separatedShapes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would this create the desired per leaf shape output?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have map controlled attributes, would they still function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Sun, 12 Sep 2021 12:56:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1097466#M10306</guid>
      <dc:creator>AndrewDeighton</dc:creator>
      <dc:date>2021-09-12T12:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted export model per leaf shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1098464#M10310</link>
      <description>&lt;P&gt;Hi again, Unfortunately &lt;EM&gt;@Out (granularity=separatedShapes)&lt;/EM&gt; is ignored by PyPRT. So, I don't see any other option than using the UI exporter at the moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 14:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1098464#M10310</guid>
      <dc:creator>JonasObertuefer</dc:creator>
      <dc:date>2021-09-15T14:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted export model per leaf shape</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1364694#M11271</link>
      <description>&lt;P&gt;I'd like to know that is pyPRT supports @Out (granularity=separatedShapes) now?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 05:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/scripted-export-model-per-leaf-shape/m-p/1364694#M11271</guid>
      <dc:creator>海洋2021</dc:creator>
      <dc:date>2023-12-28T05:37:57Z</dc:date>
    </item>
  </channel>
</rss>

