Make Representations Invisible (Defense Mapping)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

Esri Defense Mapping cartographic production tool that sets feature representations invisible in an input feature layer or selected set of features. Setting a representation invisible does not alter its feature geometry. Use this functionality to improve a map product's aesthetic or cartographic quality by hiding overlapping features and removing visual clutter.

Использование

Синтаксис

MakeRepsInvisible_defense (in_features, representation)
ПараметрОбъяснениеТип данных
in_features

The feature layer whose representations will be made invisible.

Layer
representation

The name of the representation to hide.

String

Пример кода

MakeRepsInvisible example (Python window)

The following code example demonstrates how to use the MakeRepsInvisible tool.

# set gp environment
arcpy.env.workspace="c:\\data\\Contour.gdb"
arcpy.env.addOutputsToMap = True

# input variables
inFeatures="MGCP\\ContourL50K"
inLayer="ContourL50K"
representation="ContourL_TRD4_MDG"

# make a feature layer of inFeatures
arcpy.MakeFeatureLayer_management(inFeatures, inLayer)

# set all reps of type ContourL_TRD4_MDG invisible
arcpy.MakeRepsInvisible_defense(inLayer, representation)

Параметры среды

Информация о лицензировании

ArcGIS for Desktop Basic: Нет
ArcGIS for Desktop Standard: Требует Defense Mapping
ArcGIS for Desktop Advanced: Требует Defense Mapping
4/27/2014