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
Solved! Go to Solution.
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.
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.