Planarize(Layer,IEnumerable<Int64>,Nullable<Double>) Method
Planarize features.
Edit Operation Planarize Features
// note - EditOperation.Planarize requires a standard license.
// An exception will be thrown if Pro is running under a basic license.
var planarizeFeatures = new EditOperation() { Name = "Planarize Features" };
//Planarize one or more features
planarizeFeatures.Planarize(featureLayer, new List<long>() { oid });
//Execute to execute the operation
//Must be called within QueuedTask.Run
if (!planarizeFeatures.IsEmpty)
{
var result = planarizeFeatures.Execute(); //Execute and ExecuteAsync will return true if the operation was successful and false if not
}
//or use async flavor
//await planarizeFeatures.ExecuteAsync();
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.