Bug
Bug ID Number | BUG-000127813 |
---|---|
Submitted | January 8, 2020 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS Pro |
Version found | 2.4.3 |
Operating System | Windows OS |
Operating System Version | 10.0 64 Bit |
Version Fixed | 3.3 |
Status | Fixed |
The IsFlattened property must be manually changed from True to False. The layer object's Cartographic Information Model (CIM) can be overwritten to modify this property. As soon as the IsFlattened property is changed from True to False, the layer is moved from 2D layers to 3D layers in the Contents pane for the Scene.
lyr = m.listLayers('<Polygon Layer Name Here>')[0]
lyr.extrusion('BASE_HEIGHT', 150)
lyrCIM = lyr.getDefinition('V2')
lyrCIM.isFlattened = False
lyr.setDefinition(lyrCIM)
Get help from ArcGIS experts
Download the Esri Support App