サマリー
Removes the fields associated with visual specifications from the selected feature layers and feature classes.
使用法
You can add tables, table views, feature classes, or feature layers to the Input Features list. Each entry must have representation rule IDs or calculated field values defined.
You must specify a workspace that contains the visual specifications in the Visual Specification Workspace parameter.
Once you have set Visual Specification Workspace, the Visual Specifications list will populate. Use this list to select the visual specifications that you would like to remove from the Input Features list.
This tool removes all fields associated with the calculated representations and text strings from the feature layers and feature classes.
構文
DropVisualSpecifications(in_features, vs_workspace, specifications)
パラメーター | 説明 | データ タイプ |
in_features [in_features,...] | The feature layers, feature classes, or tables for which you want to remove the fields associated with visual specifications. | Table View |
vs_workspace | The workspace containing the visual specifications table. The visual specification table can be stored in a personal, file, or an enterprise geodatabase. | Workspace |
specifications [specifications,...] | The visual specifications whose fields you want to remove from the selected feature layers and feature classes. | String |
コードのサンプル
DropVisualSpecifications example (Python window)
The following Python window script demonstrates how to use the DropVisualSpecifications tool.
import arcpy
# set gp environment
arcpy.env.workspace="c:/data"
# input parameter variables
roadL = "Austin.gdb/TopographicMap/RoadL"
productLibrary = "ProductLibrary.gdb"
visualspec="'TopoMap 1:24,000 :: TopoMap 1:24,000 Specification'"
# drop Visual Specifications on RoadL
arcpy.DropVisualSpecifications_production(roadL, productLibrary, visualspec)
環境
ライセンス情報
- ArcGIS Desktop Basic: いいえ
- ArcGIS Desktop Standard: 次のものが必要 Production Mapping
- ArcGIS Desktop Advanced: 次のものが必要 Production Mapping