arcpy.mp 类可访问 ArcGIS Pro 工程或图层文件中不同对象类型的各种方法和属性。 此文档可专门用作快速参考。 有关详细信息,请使用链接跳转至各帮助页面。
arcpy.mp 类
- 属性
- activeMap - 只读;Map 对象
- activeView - 只读;MapView、Layout、Report 或 None 对象
- databases - 只读;Python 字典的 List
- dateSaved - 只读;Datetime
- defaultGeodatabase - 读/写;String
- defaultToolbox - 读/写;String
- documentVersion - 只读;String
- filePath - 只读;String
- folderConnections - 只读;Python 字典的 List
- homeFolder - 读/写;String
- isReadOnly - 只读;Boolean
- metadata - 读/写;Metadata
- 方法
- closeViews({view_type})
- copyItem(project_item, {new_name})
- createGraphicElement(container, geometry, {style_item}, {name}, {lock_aspect_ratio})
- createGroupElement(container, element_list, {name})
- createLayout(page_width, page_height, page_units,{name})
- createMap({name}, {map_type})
- createPictureElement(container, geometry, path, {name}, {lock_aspect_ratio})
- createPreDefinedGraphicElement(container, geometry, shape_type, {style_item}, {name}, {lock_aspect_ratio})
- createTextElement(container, geometry, text_type, text, {text_size}, {font_family_name}, {font_style_name}, {style_item}, {name}, {lock_aspect_ratio})
- deleteItem(project_item)
- importDocument(document_path, {include_layout}, {reuse_existing_maps})
- listBasemaps({wildcard})
- listBrokenDataSources()
- listColorRamps({wildcard})
- listLayouts({wildcard})
- listMaps({wildcard})
- listReports({wildcard})
- listStyleItems(style, style_class, {wildcard})
- save()
- saveACopy(file_name)
- updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})
- updateDatabases(databases, {validate})
- updateFolderConnections(folder_connections, {validate})
- 方法
- updateThumbnail()
- 属性
- description - 读/写;字符串型
- hasThumbnail - 只读;布尔型
- map - 只读;Map 对象
- name - 读/写;字符串型
- 方法
- exportToPDF(out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {clip_to_elements}, {output_as_image}, {embed_color_profile}, {pdf_accessibility}, {show_export_count}, {keep_layout_background}, {convert_markers}, {simulate_overprint})
- getDefinition(cim_version)
- getPageNumberFromName(page_name)
- refresh()
- setDefinition(definition_object)
- 属性
- 方法
- getExtent()
- setExtent(extent)
- 属性
- heading - 读/写;双精度型
- mode - 读/写;字符串型
- pitch - 读/写;双精度型
- roll - 读/写;双精度型
- scale - 读/写;双精度型
- X - 读/写;双精度型
- Y - 读/写;双精度型
- Z - 读/写;双精度型
- 属性
- description - 读/写;字符串型
- label - 读/写;字符串型
- symbol - 读/写;Symbol
- upperBound - 读/写;双精度型
- 属性
- name - 只读;字符串型
- 属性
- dataSource - 只读;字符串型
- name - 读/写;字符串型
- visible - 读/写;布尔型
- 方法
- listElevationSources({wildcard})
- 属性
- name - 读/写;字符串型
- verticalExaggeration - 读/写;双精度型
- 属性
- breakCount - 读/写;整型
- classBreaks - 读/写;ClassBreak 对象列表
- classificationField - 读/写;字符串型
- classificationMethod - 读/写;字符串型
- colorRamp - 读/写;ColorRamp
- deviationInterval - 读/写;双精度型
- intervalSize - 读/写;双精度型
- normalizationField - 读/写;字符串型
- normalizationType - 读/写;字符串型
- type - 只读;字符串型
- 方法
- updateSymbolTemplate(symbol_template)
- 属性
- backgroundSymbol - 读/写;Symbol
- breakCount - 读/写;整型
- classBreaks - 读/写;ClassBreak 对象列表
- classificationField - 读/写;字符串型
- classificationMethod - 读/写;字符串型
- colorRamp - 读/写;ColorRamp
- deviationInterval - 读/写;双精度型
- intervalSize - 读/写;双精度型
- maximumSymbolSize - 读/写;双精度型
- minimumSymbolSize - 读/写;双精度型
- normalizationField - 读/写;字符串型
- normalizationType - 读/写;字符串型
- symbolTemplate - 只读;Symbol
- type - 只读;字符串型
- 方法
- clone({suffix})
- delete()
- getDefinition(cim_version)
- setAnchor(anchor)
- setDefinition(definition_object)
- 属性
- anchor - 只读;字符串型
- elementHeight - 读/写;双精度型
- elementPositionX - 读/写;双精度型
- elementPositionY - 读/写;双精度型
- elementRotation - 读/写;双精度型
- elementWidth - 读/写;双精度型
- isGroup - 只读;布尔型
- locked - 读/写;布尔型
- name - 读/写;字符串型
- type - 只读;字符串型
- visible - 读/写;布尔型
- 方法
- getDefinition(cim_version)
- setAnchor(anchor)
- setDefinition(definition_object)
- 属性
- anchor - 只读;字符串型
- locked - 读/写;布尔型
- name - 读/写;字符串型
- type - 只读;字符串型
- visible - 读/写;布尔型
- 属性
- description - 读/写;字符串型
- label - 读/写;字符串型
- symbol - 读/写;Symbol
- values - 只读;值列表
- 属性
- heading - 读/写;字符串型
- items - - 读/写;Item 或 RasterItem 对象列表
- 属性
- expression - 读/写;字符串型
- name - 读/写;字符串型
- SQLQuery - 读/写;字符串型
- visible - 读/写;布尔型
- 方法
- disableTime()
- enableTime({startTimeField}, {endTimeField}, {autoCalculateTimeRange}, {timeDimension})
- extrusion({extrusion_type}, {expression})
- getDefinition(cim_version)
- getSelectionSet()
- listDefinitionQueries({wildcard})
- listLabelClasses({wildcard})
- listLayers({wildcard})
- listTables({wildcard})
- saveACopy(file_name)
- setDefinition(definition_object)
- setSelectionSet({oidList}, {method})
- supports(layer_property)
- updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})
- updateDefinitionQueries(definitionQueries)
- updateLayerFromJSON(json_data)
- 属性
- brightness - 读/写;长整型
- connectionProperties - 只读;字典
- contrast - 读/写;长整型
- dataSource - 只读;字符串型
- definitionQuery - 读/写;字符串型
- is3DLayer - 只读;布尔型
- isBasemapLayer - 只读;布尔型
- isBroken - 只读;布尔型
- isFeatureLayer - 只读;布尔型
- isGraphicsLayer - 只读;布尔型
- isGroupLayer - 只读;布尔型
- isNetworkAnalystLayer - 只读;布尔型
- isNetworkDatasetLayer - 只读;布尔型
- isPacelFabricLayer - 只读;布尔型
- isRasterLayer - 只读;布尔型
- isSceneLayer - 只读;布尔型
- isTimeEnabled - 只读;布尔型
- isWebLayer - 只读;布尔型
- longName - 只读;字符串型
- maxThreshold - 读/写;双精度型
- metadata - 读/写;Metadata
- minTheshold - 读/写;双精度型
- name - 读/写;字符串型
- showLabels - 读/写;布尔型
- symbology - 读/写;Renderer 对象
- time - 只读;LayerTime 对象
- transparency - 读/写;长整型
- URI - 只读;布尔型
- visible - 读/写;布尔型
- 方法
- addLayer(add_layer_or_layerfile, {add_position})
- addLayerToGroup(target_group_layer, add_layer_or_layerfile, {add_position})
- insertLayer(reference_layer, insert_layer_or_layerfile, {insert_position})
- listBrokenDataSources()
- listLayers({wildcard})
- listTables({wildcard})
- moveLayer(reference_layer, move_layer, {insert_position})
- removeLayer(remove_layer)
- save()
- saveACopy(file_name)
- updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})
- 属性
- filePath - 只读;字符串型
- metadata - 读/写;Metadata
- version - 只读;字符串型
- 属性
- daylightSavings - 读/写;布尔型
- endTime - 读/写;日期时间
- endTimeField - 读/写;字符串型
- startTime - 读/写;日期时间
- startTimeField - 读/写;字符串型
- timeDimension - 读/写;字符串型
- timeFormat - 读/写;字符串型
- timeOffset - 读/写;双精度型
- timeOffsetUnits - 读/写;字符串型
- timeStepInterval - 读/写;双精度型
- timeStepIntervalUnits - 读/写;字符串型
- timeZone - 读/写;字符串型
- 方法
- createBookmarkMapSeries(mapframe, {bookmarks})
- createMapFrame(geometry, {map}, {name})
- createMapSurroundElement(geometry, {map_surround_type}, {mapframe}, {style_Item}, {name})
- createSpatialMapSeries(mapframe, index_layer, name_field, {sort_field})
- deleteElement(element)
- exportToAIX(out_aix, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {jpeg_compression_quality}, {embed_fonts}, {embed_color_profile}, {clip_to_elements}, {keep_layout_background}, {convert_markers})
- exportToBMP(out_bmp, {resolution}, {bmp_color_mode}, {bmp_image_compression}, {embed_color_profile}, {clip_to_elements})
- exportToEMF(out_emf, {resolution}, {image_quality}, {output_as_image}, {clip_to_elements}, {convert_markers})
- exportToEPS(out_eps, {resolution}, {image_compression}, {image_quality}, {embed_fonts}, {output_as_image}, {clip_to_elements}, {convert_markers})
- exportToGIF(out_gif, {resolution}, {gif_color_mode}, {clip_to_elements})
- exportToJPEG(out_jpg, {resolution}, {jpeg_color_mode}, {jpeg_quality}, {embed_color_profile}, {clip_to_elements})
- exportToPAGX(out_pagx)
- exportToPDF(out_pdf, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {clip_to_elements}, {output_as_image}, {embed_color_profile}, {pdf_accessibility}, {keep_layout_background}, {convert_markers}, {simulate_overprint})
- exportToPNG(out_png, {resolution}, {color_mode}, {transparent_background}, {embed_color_profile}, {clip_to_elements})
- exportToSVG(out_svg, {resolution}, {compress_to_svgz}, {image_quality}, {embed_fonts}, {output_as_image}, {clip_to_elements}, {convert_markers})
- exportToTGA(out_tga, {resolution}, {color_mode}, {transparent_background}, {clip_to_elements})
- exportToTIFF(out_tif, {resolution}, {color_mode}, {tiff_compression}, {jpeg_compression_quality}, {transparent_background}, {embed_color_profile}, {clip_to_elements},{world_file}, {geoTIFF_tags}, {georef_mapframe})
- getDefinition(cim_version)
- listElements({element_type}, {wildcard})
- openView()
- setDefinition(definition_object)
- 属性
- mapSeries - 只读;MapSeries 或 BookmarkMapSeries
- metadata - 读/写;Metadata
- name - 读/写;字符串型
- pageHeight - 读/写;双精度型
- pageUnits - 读/写;字符串型
- pageWidth - 读/写;双精度型
- URI - 只读;布尔型
- 方法
- addItem(layer, {add_position})
- getDefinition(cim_version)
- moveItem(reference_item, move_item, {move_position})
- removeItem(remove_item)
- setAnchor(anchor)
- setDefinition(definition_object)
- 属性
- anchor - 只读;字符串型
- columnCount - 读/写;长整型
- elementHeight - 读/写;双精度型
- elementPositionX - 读/写;双精度型
- elementPositionY - 读/写;双精度型
- elementRotation - 读/写;双精度型
- elementWidth - 读/写;双精度型
- fittingStrategy - 读/写;字符串型
- items - 只读;LegendItem 对象列表
- locked - 读/写;布尔型
- mapFrame - 读/写;MapFrame 对象
- name - 读/写;字符串型
- showTitle - 读/写;布尔型
- syncLayerOrder - 读/写;布尔型
- syncLayerVisbility - 读/写;布尔型
- syncNewLayer - 读/写;布尔型
- syncReferenceScale - 读/写;布尔型
- title - 读/写;字符串型
- type - 只读;字符串型
- visible - 读/写;布尔型
- 属性
- arrangement - 读/写;字符串型
- column - 读/写;长整型
- name - 只读;字符串型
- patchHeight - 读/写;双精度型
- patchWidth - 读/写;双精度型
- showFeatureCount - 读/写;布尔型
- showVisibleFeatures - 读/写;布尔型
- type - 只读;字符串型
- visible - 读/写;布尔型
- 方法
- addBasemap(basemap_name)
- addDataFromPath(data_path, {web_service_type}, {custom_parameters})
- addLayer(add_layer_or_layerfile, {add_position})
- addLayerToGroup(target_group_layer, add_layer_or_layerfile, {add_position})
- addTable(add_table)
- addTableToGroup(target_group_layer, add_table)
- clearSelection()
- clipLayers(clip_object, {selection})
- copyBookmark(bookmark, {name})
- createGraphicsLayer({name})
- createGroupLayer(name, {group_layer})
- exportBookmarks(out_bkmx)
- exportToMAPX(out_mapx)
- getDefinition(cim_version)
- getWebLayerSharingDraft(server_type, service_type, service_name, {layers_and_tables})
- importBookmarks(bkmx_path)
- insertLayer(reference_layer, insert_layer_or_layerfile, {insert_position})
- listBookmarks({wildcard})
- listBrokenDataSources()
- listElevationSources({wildcard})
- listLayers({wildcard})
- listTables({wildcard})
- moveLayer(reference_layer, move_layer, {insert_position})
- openView()
- removeBookmark(remove_bookmark)
- removeLayer(remove_layer)
- removeTable(remove_table)
- setDefinition(definition_object)
- updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})
- updateTransformations(transformations)
- 属性
- defaultCamera - 读/写;Camera 对象
- defaultView - 只读;MapView 对象
- excludedLayersFromClipping - 读/写;列表
- mapType - 只读;字符串型
- mapUnits - 读/写;字符串型
- metadata - 读/写;Metadata
- name - 读/写;字符串型
- referenceScale - 读/写;双精度型
- spatialReference - 读/写;SpatialReference 对象
- transformations - 只读;字典
- URI - 只读;布尔型
- 方法
- createBookmark({name}, {description})
- exportToAIX(out_aix, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {jpeg_compression_quality}, {embed_fonts}, {embed_color_profile}, {convert_markers})
- exportToBMP(out_bmp, {resolution}, {world_file}, {bmp_color_mode}, {bmp_image_compression}, {embed_color_profile})
- exportToEMF(out_emf, {resolution}, {image_quality}, {output_as_image}, {convert_markers})
- exportToEPS(out_eps, {resolution}, {image_compression}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})
- exportToGIF(out_gif, {resolution}, {world_file}, {gif_color_mode})
- exportToJPEG(out_jpg, {resolution}, {world_file}, {jpeg_color_mode}, {jpeg_quality}, {embed_color_profile})
- exportToPDF(out_pdf, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {output_as_image}, {embed_color_profile}, {convert_markers})
- exportToPNG(out_png, {resolution}, {world_file}, {color_mode}, {embed_color_profile}, {transparent_background})
- exportToSVG(out_svg, {resolution}, {compress_to_svgz}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})
- exportToTGA(out_tga, {resolution}, {world_file}, {color_mode})
- exportToTIFF(out_tif, {resolution}, {world_file}, {color_mode}, {tiff_compression}, {geoTIFF_tags}, {jpeg_compression_quality}, {embed_color_profile})
- getDefinition(cim_version)
- getLayerExtent(layer, {selection_only}, {symbolized_extent})
- panToExtent(extent)
- setAnchor(anchor)
- setDefinition(definition_object)
- zoomToAllLayers({selection_only}, {symbolized_extent})
- zoomToBookmark(bookmark)
- 属性
- 方法
- exportToPDF(out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {clip_to_elements}, {show_selection_symbology}, {output_as_image}, {embed_color_profile}, {pdf_accessibility}, {show_export_count}, {convert_markers})
- getDefinition(cim_version)
- getPageNumberFromName(page_name)
- refresh()
- setDefinition(definition_object)
- 属性
- 方法
- getDefinition(cim_version)
- setAnchor(anchor)
- setDefinition(definition_object)
- 属性
- anchor - 只读;字符串型
- elementHeight - 读/写;双精度型
- elementPositionX - 读/写;双精度型
- elementPositionY - 读/写;双精度型
- elementRotation - 读/写;双精度型
- elementWidth - 读/写;双精度型
- locked - 读/写;布尔型
- mapFrame - 读/写;MapFrame 对象
- name - 读/写;字符串型
- type - 只读;字符串型
- visible - 读/写;布尔型
- 方法
- setTimeInclusion(time_inclusion)
- timeStep(reference_time, interval, interval_units)
- 属性
- currentTimeEnd - 读/写;日期时间
- currentTimeSpan - 只读;双精度型
- currentTimeSpanUnits - 只读;字符串型
- currentTimeStart - 读/写;日期时间
- isTimeEnabled - 读/写;布尔型
- timeIncludsion - 只读;字符串型
- timeStepInterval - 只读;双精度型
- timeStepIntervalUnits - 只读;字符串型
- 方法
- createBookmark({name}, {description})
- exportToAIX(out_aix, width, height, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {jpeg_compression_quality}, {embed_fonts}, {embed_color_profile}, {convert_markers})
- exportToBMP(out_bmp, width, height, {resolution}, {world_file}, {bmp_color_mode}, {bmp_image_compression}, {embed_color_profile})
- exportToEMF(out_emf, width, height, {resolution}, {image_quality}, {output_as_image}, {convert_markers})
- exportToEPS(out_eps, width, height, {resolution}, {image_compression}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})
- exportToGIF(out_gif, width, height, {resolution}, {world_file}, {gif_color_mode})
- exportToJPEG(out_jpg, width, height, {resolution}, {world_file}, {jpeg_color_mode}, {jpeg_quality}, {embed_color_profile})
- exportToPDF(out_pdf, width, height, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {output_as_image}, {embed_color_profile}, {convert_markers})
- exportToPNG(out_png, width, height, {resolution}, {world_file}, {color_mode}, {embed_color_profile}, {transparent_background})
- exportToSVG(out_svg, width, height, {resolution}, {compress_to_svgz}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})
- exportToTIFF(out_tif, width, height, {resolution}, {world_file}, {color_mode}, {tiff_compression}, {geoTIFF_tags}, {jpeg_compression_quality}, {embed_color_profile})
- exportToTGA(out_tga, width, height, {resolution}, {world_file}, {color_mode})
- getLayerExtent(layer, {selection_only}, {symbolized_extent})
- panToExtent(extent)
- zoomToAllLayers({selection_only}, {symbolized_extent})
- zoomToBookmark(bookmark)
- 属性
- 方法
- appendPages(pdf_path, {input_pdf_password})
- deletePages(page_range)
- insertPages(pdf_path, {before_page_number}, {input_pdf_password})
- saveAndClose()
- updateDocProperties({pdf_title}, {pdf_author}, {pdf_subject}, {pdf_keywords}, {pdf_open_view}, {pdf_layout})
- updateDocSecurity(new_master_password, {new_user_password}, {encryption})
- 属性
- pageCount - 只读;长整型
- 方法
- getDefinition(cim_version)
- setAnchor(anchor)
- setDefinition(definition_object)
- 属性
- anchor - 只读;字符串型
- elementHeight - 读/写;双精度型
- elementPositionX - 读/写;双精度型
- elementPositionY - 读/写;双精度型
- elementRotation - 读/写;双精度型
- elementWidth - 读/写;双精度型
- locked - 读/写;布尔型
- name - 读/写;字符串型
- sourceImage - 读/写;字符串型
- type - 只读;字符串型
- visible - 读/写;布尔型
- 属性
- color - 读/写;字典
- description - 读/写;字符串型
- label - 读/写;字符串型
- upperBound - 读/写;双精度型
- 属性
- breakCount - 读/写;长整型
- classBreaks - 读/写;RasterClassBreak 对象列表
- classificationField - 读/写;字符串型
- classificationMethod - 读/写;字符串型
- colorRamp - 读/写;ColorRamp
- noDataColor - 读/写;字典
- type - 只读;字符串型
- 属性
- color - 读/写;字典
- description - 读/写;字符串型
- label - 读/写;字符串型
- values - 只读;值列表
- 属性
- band - 读/写;长整型
- colorRamp - 读/写;ColorRamp
- gamma - 读/写;双精度型
- invertColorRamp - 读/写;布尔型
- maxLabel - 读/写;字符串型
- maxPercent - 读/写;双精度型
- minLabel - 读/写;字符串型
- minPercent - 读/写;双精度型
- standardDeviation - 读/写;双精度型
- stretchType - 读/写;字符串型
- type - 只读;字符串型
- 属性
- 方法
- exportToPDF(out_pdf, {page_range_type}, {page_range}, {starting_page_number}, {total_page_number}, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression},{embed_fonts}, {jpeg_compression_quality}, {embed_color_profile}, {pdf_accessibility}, {convert_markers}, {simulate_overprint})
- getDefinition(cim_version)
- listSections({wildcard})
- openView()
- setDefinition(definition_object)
- setReferenceDataSource(data_source)
- 属性
- definitionQuery - 读/写;字符串型
- metadata - 读/写;Metadata
- name - 读/写;字符串型
- referenceDataSource - 只读;字典
- 属性
- name - 读/写;字符串型
- type - 只读;字符串型
- visible - 读/写;布尔型
- URI - 读/写;字符串型
- 方法
- setReferenceDataSource(data_source)
- setRelatedReportSource (related_report_data_source, related_report_section_name, relate_or_relationship_class_name)
- 属性
- definitionQuery - 读/写;字符串型
- name - 只读;字符串型
- referenceDataSource - 只读;字典
- type - 只读;字符串型
- visible - 读/写;布尔型
- 属性
- description - 读/写;字符串型
- label - 读/写;字符串型
- symbol - 读/写;Symbol
- type - 只读;字符串型
- 属性
- category - 只读;字符串型
- name - 只读;字符串型
- style - 只读;字符串型
- styleClass - 只读;字符串型
- tags - 只读;字符串型
- 方法
- applySymbolFromGallery(wildcard, {index})
- listSymbolsFromGallery({wildcard})
- 属性
- angle - 读/写;双精度型
- color - 读/写;字典
- name - 只读;字符串型
- outlineColor - 读/写;字典
- outlineWidth - 读/写;双精度型
- size - 读/写;双精度型
- useRealWorldUnits - 读/写;布尔型
- 方法
- updateColorizer(colorizer_name)
- updateRenderer(renderer_name)
- 属性
- colorizer - 只读;RasterClassifyColorizer、RasterUniqueValueColorizer
- renderer - 只读;GraduatedColorsRenderer、GraduatedSymbolsRenderer、SimpleRenderer 或 UniqueValueRenderer
- 方法:
- getDefinition(cim_version)
- getSelectionSet()
- listDefinitionQueries({wildcard})
- saveACopy(file_name)
- setDefinition(definition_object)
- setSelectionSet({oidList}, {method})
- updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})
- updateDefinitionQueries(definitionQueries)
- 属性
- connectionProperties - 只读;字典
- dataSource - 只读;字符串型
- definitionQuery - 读/写;字符串型
- isBroken - 只读;布尔型
- longName - 只读;字符串型
- metadata - 读/写;Metadata
- name - 读/写;字符串型
- URI - 只读;布尔型
- 方法
- clone({suffix})
- delete()
- getDefinition(cim_version)
- setAnchor(anchor)
- setDefinition(definition_object)
- 属性
- anchor - 只读;字符串型
- elementHeight - 读/写;双精度型
- elementPositionX - 读/写;双精度型
- elementPositionY - 读/写;双精度型
- elementRotation - 读/写;双精度型
- elementWidth - 读/写;双精度型
- isOverflowing - 只读;布尔型
- locked - 读/写;布尔型
- name - 读/写;字符串型
- text - 读/写;字符串型
- textAngle - 读/写;双精度型
- textSize - 读/写;双精度型
- type - 只读;字符串型
- visible - 读/写;布尔型
- fontFamilyName - 读/写;字符串型
- fontStyleName - 读/写;字符串型
- 方法
- updateSymbolTemplate(symbol_template)
- 属性