I'm trying to execute a python script with a button created in AGP for SDK in Visual Studio.
I used the sample "CallScriptFromNet" to create a button that execute python script:
My Python script is basic and just create a field to a point layer.
I would like the button to work when the point layer is displayed in the environment. However, when this is the case, I get the error 000464 :
However, the button works when the point layer is not displayed in the view.
How is it possible to get rid of this error?
If you have any idea about this problem I be glad to hear about it.