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 value in 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 Pro.

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

Syntax

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

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

Feature Layer
split_model
(Optional)

Specifies the split model to apply 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.SetFeatureClassSplitModel_management("C:\\MyProject\\sdeConn.sde\\progdb.user1.Parcels", 
                                           "DELETE_INSERT_INSERT")

Environments

This tool does not use any geoprocessing environments.

Licensing information

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

Related topics