laptop and a wrench

不具合

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

最後に公開された状態: October 30, 2015 ArcGIS for Desktop
不具合 ID 番号 BUG-000090879
送信されましたSeptember 21, 2015
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.3.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン7
修正されたバージョン10.4.0
ステータスFixed

対処法

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

再現の手順

不具合 ID: BUG-000090879

ソフトウェア:

  • ArcGIS for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動