Skip To Content

Remove Relate

Summary

Removes a relate from a feature layer or a table view.

Usage

  • The Make Feature Layer tool makes a layer from a feature class, and the Make Table View tool creates a table view from an input table or feature class. The layer or table view can then be used as the input to the Add Relate and Remove Relate tools.

Syntax

RemoveRelate_management (in_layer_or_view, relate_name)
ParameterExplanationData Type
in_layer_or_view

The layer or table view from which to remove the relate.

Mosaic Layer; Raster Layer; Table View
relate_name

The name of the relate to remove.

String

Code sample

RemoveRelate example 1 (Python window)

The following Python window script demonstrates how to use the RemoveRelate function in immediate mode.

import arcpy
arcpy.RemoveRelate_management( "Parcel_layer", "Owner2Parcel")

Environments

Licensing information

  • ArcGIS Desktop Basic: Yes
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics