Unable to apply a map to the return Layout object of the ConvertLayoutFileToLayout method.
ArcGIS Pro
漏洞 ID 编号
BUG-000110128
已提交
December 12, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS Pro
找到的版本
2.1 Beta
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
This is a known, documented note in the ConvertLayoutFileToLayout documentation, "ConvertLayoutFileToLayout creates an in-memory project and therefore can't be used to import layouts into the current application or other existing projects. To do this, use the importDocument method on the ArcGISProject (https://pro.arcgis.com/en/pro-app/3.1/arcpy/mapping/arcgisproject-class.htm) class instead." For more information, refer to https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/convertlayoutfiletolayout.htm.