laptop and a wrench

Erro

The ArcPy 'layer.extrusion' method does not correctly apply 3D display properties.

Última Publicação: January 21, 2020 ArcGIS Pro
Número de ID do Erro BUG-000127813
EnviadoJanuary 8, 2020
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.4.3
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa3.3
StatusFixed

Informações Adicionais

This issue is addressed in ArcGIS Pro 3.3.

Solução Provisória

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)

Etapas para Reproduzir

ID do Erro: BUG-000127813

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download