<?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 Features From CityEngine Rules ArcPy - Not working  in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/features-from-cityengine-rules-arcpy-not-working/m-p/624740#M27772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a combination of ArcPy and CityEngine CGA rule packages to create a 3D scene. The rule works when I use it in CityEngine and as a standalone Geoprocessing Tool in ArcPro, creating Image 1 below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Image 1:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/382437_pastedImage_9.png" style="width: 620px; height: 285px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try running the following code in ArcPy, it doesn't work, instead creating Image 2, below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arcpy.FeaturesFromCityEngineRules_3d(MM_Output + "Buildings", Rule_Folder + "\Building_Basic.rpk", MM_Output + "Buildings_MP")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Image 2:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/382438_pastedImage_10.png" style="width: 620px; height: 285px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions on why this could be happening, and how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gavin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 14:42:57 GMT</pubDate>
    <dc:creator>GThomson</dc:creator>
    <dc:date>2017-11-02T14:42:57Z</dc:date>
    <item>
      <title>Features From CityEngine Rules ArcPy - Not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/features-from-cityengine-rules-arcpy-not-working/m-p/624740#M27772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a combination of ArcPy and CityEngine CGA rule packages to create a 3D scene. The rule works when I use it in CityEngine and as a standalone Geoprocessing Tool in ArcPro, creating Image 1 below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Image 1:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/382437_pastedImage_9.png" style="width: 620px; height: 285px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try running the following code in ArcPy, it doesn't work, instead creating Image 2, below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arcpy.FeaturesFromCityEngineRules_3d(MM_Output + "Buildings", Rule_Folder + "\Building_Basic.rpk", MM_Output + "Buildings_MP")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Image 2:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/382438_pastedImage_10.png" style="width: 620px; height: 285px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions on why this could be happening, and how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gavin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/features-from-cityengine-rules-arcpy-not-working/m-p/624740#M27772</guid>
      <dc:creator>GThomson</dc:creator>
      <dc:date>2017-11-02T14:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Features From CityEngine Rules ArcPy - Not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/features-from-cityengine-rules-arcpy-not-working/m-p/624741#M27773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ended up being a really simple fix in my CGA rule file. I had included worldup extrusion to my buildings. When I removed that and went with the default properties it corrected itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 17:52:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/features-from-cityengine-rules-arcpy-not-working/m-p/624741#M27773</guid>
      <dc:creator>GThomson</dc:creator>
      <dc:date>2017-11-16T17:52:17Z</dc:date>
    </item>
  </channel>
</rss>

