RemoveLayer(data_frame, remove_layer) RemoveTableView(data_frame, remove_table) TableView(table_view_data_source) UpdateLayer(data_frame, update_layer, source_layer, {symbology_only}) UpdateLayerTime(data_frame, update_layer, source_layer)
definitionQuery = "" if lyr.supports("SHOWLABELS"): lyr.showLabels = False aprx.save() del aprx 拓展:确定图层类型的另一种方法是在尝试将属性应用于某个图层之前,在 Layer 对象上使用 supports() 方法来测试该图层是否支持特定属性。supports() 方法的语法是Layer.supports(<layer_property>),返回布尔...
# 需要導入模塊: import arcpy [as 別名]# 或者: from arcpy importMakeFeatureLayer_management[as 別名]defcopyFlowlines(self, in_drainage_line, path_database, list_uniqueID):"""Create copies of flowlines based on the layer query definitions"""# make a feature layer for query selectionname_lyr ...
返回值:Layer 对象,图层对象的 Python 列表。每个图例项引用一个图层。 ◈removeItem(legend_item_layer, {index}):removeItem 方法用于从布局上的图例中移除图例项。 legend_item_layer:一个在图例中使用的层的引用。 ◈updateItem(legend_item_layer, {legend_item_style_item}, {preserve_item_sizes}, {...
legend_item_layer:一个在图例中使用的层的引用。 ◈updateItem(legend_item_layer, {legend_item_style_item}, {preserve_item_sizes}, {use_visible_extent}, {show_feature_count}, {use_ddp_extent}, {index}):updateItem 方法用于更新布局上的图例中图例项的各属性。
updateLayerFromJSON(json_data) Свойства brightness –Чтение/Запись; Long connectionProperties –толькочтение; словарь contrast –Чтение/Запись; Long dataSource –Толькочтение; String definitionQuery –Чтение/З...
{encryption} -用于PDFDocument类上的updateDocSecurity方法。 "RC4" "AES-256"- 默认值 "AES-256-R5" "AES-128" — {extrusion_type} -用于Layer类上的extrusion方法。 "ABSOLUTE_HEIGHT" "BASE_HEIGHT" "MAX_HEIGHT" "MIN_HEIGHT" "NONE"- 默认值 ...
{layer_property}—Used by Layer.supports. "BRIGHTNESS" "CONTRAST" "CREDITS" "DATASETNAME" "DATASOURCE" "DEFINITIONQUERY" "DESCRIPTION" "LABELCLASSES" "LONGNAME" "MAXSCALE" "MINSCALE" "NAME" "SERVICEPROPERTIES" "SHOWLABELS" "SYMBOLOGY" "SYMBOLOGYTYPE" "TIME" "TRANSPARENCY" "VISIBLE" "WORKSPACE...
开发者ID:Esri,项目名称:ArcREST,代码行数:32,代码来源:query_agol_layer_using_ArcMap_Creds.py 示例13: __init__ ▲点赞 5▼ # 需要导入模块: import arcpy [as 别名]# 或者: from arcpy importExecuteError[as 别名]def__init__(self, CSVLocation="", layer=None, workspace = None):# Gets the...
layer('Cities') # or can use layer id: usa.layer(0) # query the map layer for all cities in California with population > 100000 where = "st = 'CA' and pop2000 > 100000" # the query operation returns a restapi.FeatureSet or restapi.FeatureCollection depending on the return format ...