サマリー
Replaces null values in a feature class or table with the default values from the data model.
使用法
This tool can be run on multiple feature classes or tables.
Only feature classes or tables that have default values specified will have null values replaced.
構文
CalculateDefaultValues_defense (in_datasets)
パラメーター | 説明 | データ タイプ |
in_datasets [in_datasets,...] | The feature classes and/or tables whose null values will be replaced with the default values from the data model. | Dataset; Feature Layer; Table View |
コードのサンプル
CalculateDefaultValues (stand-alone Python script)
This stand-alone Python script calculates the default values for several feature classes in the VMap2TLM geodatabase.
# Name: CalculateDefaultValues_Example.py
# Description: Calculates default values on a feature dataset based on default data model values
# Requirements: Esri Defense Mapping solution
# Import arcpy module
import arcpy
# Check out a DefenseMapping extension license
arcpy.CheckOutExtension("defense")
# Local variables
in_datasets = "C:\\Data\\Defense\\VMap2TLM.mdb\\VMap2TLM\\BridgeL;C:\\Data\\10.0\\Defense\\VMap2TLM.mdb\\VMap2TLM\\BuildA;C:\\Data\\10.0\\Defense\\VMap2TLM.mdb\\VMap2TLM\\BuildL;C:\\Data\\10.0\\Defense\\VMap2TLM.mdb\\VMap2TLM\\BuildP;C:\\Data\\10.0\\Defense\\VMap2TLM.mdb\\VMap2TLM\\BuiltupA"
# Execute Calculate Default Values function
arcpy.CalculateDefaultValues_defense(in_datasets)
# Check in the Defense Mapping extension
arcpy.CheckInExtension("defense")
環境
このツールはジオプロセシング環境を使用していません
ライセンス情報
- ArcGIS Desktop Basic: いいえ
- ArcGIS Desktop Standard: 次のものが必要 Defense Mapping
- ArcGIS Desktop Advanced: 次のものが必要 Defense Mapping