alex_bn_lee

导航

【312】◀▶ arcpy 常用函数说明

其他常用的 ArcPy 函数说明

序号 类名称  

功能说明

  语法 & 举例
01 RefreshActiveView  

====<<<< Description >>>>====

刷新当前地图文档的活动视图和内容列表。
----------------------------------------------------------------------------------

====<<<< Syntax >>>>====

RefreshActiveView ()

   
02 RefreshCatalog  

====<<<< Description >>>>====

强制刷新目录窗口或目录树。
----------------------------------------------------------------------------------

====<<<< Syntax >>>>====

RefreshCatalog (dataset)

   
03 RefreshTOC  

====<<<< Description >>>>====

刷新 TOC。
----------------------------------------------------------------------------------

====<<<< Syntax >>>>====

RefreshTOC ()

   
 04 Exists  

====<<<< Description >>>>====

确定指定数据对象是否存在。测试在当前工作空间中是否存在要素类、表、数据集、shapefile、工作空间、图层和文件。函数返回指示元素是否存在的布尔值。
----------------------------------------------------------------------------------

====<<<< Syntax >>>>====

Exists (dataset)

 
# 存在
>>> arcpy.Exists("point")
True
# 不存在
>>> arcpy.Exists("points")
False
--
---------------
 
--------------------------------------------------
   

 

posted on 2018-04-23 09:51  McDelfino  阅读(583)  评论(0)    收藏  举报