摘要
更新表或要素类的别名。
语法
AlterAliasName (table, alias)
参数 | 说明 | 数据类型 |
table | Input table or feature class. | String |
alias | The new alias name. | String |
代码示例
更新新建表的别名。
import arcpy
arcpy.management.CreateTable('c:/city/Boston.gdb', 'SnowReport')
arcpy.AlterAliasName('c:/city/Boston.gdb/SnowReport', 'Snow Report')