AnsweredAssumed Answered

How to create a copy of the feature class

Question asked by sfarley on Sep 5, 2019
Latest reply on Sep 9, 2019 by UHarano-esristaff

I have a project and am trying to create a copy of one or more layers in the project with all attributes. I remember someone saying the easiest way to see the syntax for how to do something was to execute it in arcpro and the look at the outputted code. How do you do that? I can't seem to fine that post.


I'm guessing the syntax for the copy will be along the lines of Geoprocessing.ExecuteToolAsync("management.CopyFeatureClass", <not sure of params>) but using the ExecuteToolAsync seems to take a while whereas Copy and Paste within ArcPro is very quick so I'm assuming there is faster syntax than this and I can't find it.


Thank you,