# Author: ESRI # Date: July 5, 2010 # Version: ArcGIS 10.0 # Purpose: This script will perform a search and replace on page layout text # elements. There are options to match case and/or find exact matches. # This script is intended to run as a scrip…
Win32com 组件提供了自动替换 Word 文件中指定文字 的功能 .在使用“查找” 功能替换文字之前,可先清除源文字及目标文字的格式,以免影响替换效果,语法为 : 替换 Word 文件特定文字的语法为 : 将指定目录中所有 Word 文件中的所有“方法”都替换为“ method ”. import os from win32com import client as client from win32com.client import constants word = client.genc…
# Author: ESRI # Date: July 5, 2010 # Version: ArcGIS 10.0 # Purpose: This script generates a report of each page layout element and its # associated properties. This script is intended to run as a scrip tool # and requires two parameters: # 1) Input…
# Author: ESRI # Date: July 5, 2010 # Version: ArcGIS 10.0 # Purpose: This script will loop through every page layout element and apply the # specified X and Y shifts to each element. The script is helpful for # repositioning the elements so they are…