Select to view content in your preferred language

ArcGIS Pro SDK - A way to create a Feature Class in 'memory' directly into an existing Group Layer without having to manually move the Feature Layer?

607
0
05-30-2023 02:57 PM
diegom_geoowl
Emerging Contributor

As of right now I'm using the Geoprocessing.ExecuteToolAsync() method and the "CreateFeatureclass_management" tool to create a feature class in memory passing in 'memory' as the path. The issue is that I can't seem to find a way to create a feature layer in memory directly into an existing group layer. I have to manually move it into the group layer using MapView.Active.Map.MoveLayer() method passing in the newly created feature layer and the existing group layer.

0 Kudos
0 Replies