Set Feature Class Split Model (Data Management)

Summary

Defines the behavior of a split operation on a feature class.

Learn more about setting the split model for a feature class

Usage

  • When editing features and a feature is split, the split model will define how the split operation handles the split features in the table.

  • Every feature class has the default split model, Update/Insert, defined upon creation. If the split model has been changed, you can run this tool using the Update/Insert option for the Split Model parameter to reset the split model to the default.

  • If the split model property is set to Delete/Insert/Insert, the minimum client version will be set to ArcGIS Pro 2.6. This means you cannot use data from ArcGIS Desktop or earlier versions of ArcGIS AllSource.

  • If the input feature class is stored in an enterprise geodatabase, this tool must be run as the data owner.

Parameters

LabelExplanationData Type
Input Feature Class

The feature class on which the split model will be set.

Feature Layer
Split Model
(Optional)

Specifies the split model that will be applied to the input feature class.

  • Delete/Insert/InsertThe original feature will be deleted, and both parts of the split feature will be inserted as new features with two new rows in the table.
  • Update/InsertThe original feature will be updated, becoming the largest feature, and the smaller feature will be inserted as a new row in the table. This is the default.
String

Derived Output

LabelExplanationData Type
Output Feature Class

The updated feature class with its modified split model property.

Feature Layer

arcpy.management.SetFeatureClassSplitModel(in_feature_class, {split_model})
NameExplanationData Type
in_feature_class

The feature class on which the split model will be set.

Feature Layer
split_model
(Optional)

Specifies the split model that will be applied to the input feature class.

  • DELETE_INSERT_INSERTThe original feature will be deleted, and both parts of the split feature will be inserted as new features with two new rows in the table.
  • UPDATE_INSERTThe original feature will be updated, becoming the largest feature, and the smaller feature will be inserted as a new row in the table. This is the default.
String

Derived Output

NameExplanationData Type
out_feature_class

The updated feature class with its modified split model property.

Feature Layer

Code sample

SetFeatureClassSplitModel example (Python window)

Set the split model to DELETE_INSERT_INSERT on a feature class.

import arcpy
arcpy.management.SetFeatureClassSplitModel("C:\\MyProject\\sdeConn.sde\\progdb.user1.Parcels", 
                                           "DELETE_INSERT_INSERT")

Environments

This tool does not use any geoprocessing environments.

Related topics