laptop and a wrench

Erro

Lines and polygons are not recognized by ArcPy layer.isRasterizingLayer when referencing the pathname of the map document (MXD).

Última Publicação: October 30, 2015 ArcGIS for Desktop
Número de ID do Erro BUG-000090879
EnviadoSeptember 21, 2015
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS for Desktop
Versão encontrada10.3.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional7
Versão Fixa10.4.0
StatusFixed

Solução Provisória

ArcPy layer.isRasterizingLayer only recognizes lines and polygons when it is ran from the Python Window referencing the 'CURRENT' MXD, whereas points are recognized when referencing the path of the MXD or using the 'CURRENT' MXD. Can only use 'CURRENT' in the Python Window. import arcpy mxd = arcpy.mapping.MapDocument('CURRENT') layers = arcpy.mapping.ListLayers(mxd) for layer in layers: #list(reversed(layers)): if layer.isRasterizingLayer: print "isRasterizing:"+layer.name

Etapas para Reproduzir

ID do Erro: BUG-000090879

Software:

  • ArcGIS for Desktop

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