Features From CityEngine Rules ArcPy - Not working

518
1
Jump to solution
11-02-2017 07:42 AM
GThomson
New Contributor III

Hi there,

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:

Image 1:

However when I try running the following code in ArcPy, it doesn't work, instead creating Image 2, below:

arcpy.FeaturesFromCityEngineRules_3d(MM_Output + "Buildings", Rule_Folder + "\Building_Basic.rpk", MM_Output + "Buildings_MP")

Image 2:

Does anyone have any suggestions on why this could be happening, and how to fix it?

Many thanks,

Gavin

0 Kudos
1 Solution

Accepted Solutions
GThomson
New Contributor III

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.

View solution in original post

0 Kudos
1 Reply
GThomson
New Contributor III

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.

0 Kudos