Calculate Default Values (Topographic Production)

サマリー

Replaces null values in a feature class or table with the default values from the geodatabase feature class.

使用法

  • Only feature classes or tables that have default values specified will have null values replaced.

パラメーター

ラベル説明データ タイプ
Input Dataset

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

派生した出力

ラベル説明データ タイプ
Output Dataset

Output dataset where attributes were updated.

Table View; Feature Layer; Dataset

arcpy.topographic.CalculateDefaultValues(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

派生した出力

名前説明データ タイプ
out_dataset

Output dataset where attributes were updated.

Table View; Feature Layer; Dataset

コードのサンプル

CalculateDefaultValues example (stand-alone script)

This stand-alone script calculates the default values for several feature classes in the TDS geodatabase.

# Name: CalculateDefaultValues_sample.py
# Description: Use the Calculate Default Values tool to replace null values with their appropriate default data model values 

# Import System Modules
import arcpy

# Check Out Extensions
arcpy.CheckOutExtension('Foundation')

# Setting Local Variables
in_features = [r'C:\Temp\Test.gdb\StructurePoints', r'C:\Temp\Test.gdb\StructurePolygons']

# Use the Calculate Default Values tool to replace null values and print the result
arcpy.topographic.CalculateDefaultValues(in_features)

# Check In Extensions
arcpy.CheckInExtension('Foundation')

環境

このツールは、ジオプロセシング環境を使用しません。

ライセンス情報

  • Basic: No
  • Standard: 次のものが必要 Production Mapping
  • Advanced: 次のものが必要 Production Mapping

関連トピック