Remove Relate (Data Management)

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

arcpy.management.RemoveRelate(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

Derived Output

NameExplanationData Type
out_layer_or_view

The updated input dataset.

Table View; Raster Layer; Mosaic Layer

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

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics