Is it pssilble with arcpy?
Or is there an other skript possiblity?
I'm using 10.2, so can't test anything in 10.3, but this doesn't appear to be a property of the Layer object. I'm guessing you're out of luck, at least as far as arcpy goes, which truly isn't meant to do absolutely everything.
I haven't found an arcpy.mapping functions for setting a layer/table-ID.
Even in arcpy.mapping classes i haven't found a method in the class "layer" to set the ID.
Know somebody else more?
Is there a possibility in python with arcobjects?
arcpy mapping
Alphabetical list of arcpy.mapping functions—Help | ArcGIS for Desktop
Alphabetical list of arcpy.mapping classes—Help | ArcGIS for Desktop
amongst other links
The same problem as in post Set Layer ID for a layer in ArcMap 10.3
But i want solve it with python.
Can you please give us a little bit more detail on what you are trying to achieve. I don't quite understand your question.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.