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.
Can you please give us a little bit more detail on what you are trying to achieve. I don't quite understand your question.
The same problem as in post Set Layer ID for a layer in ArcMap 10.3
But i want solve it with python.
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?
if the property existed, it could be set, meaning that layers don't have an ID property but it has a readonly ObjectID property
http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-functions/table-properties.htm
You've got the wrong ID ...
Inside a mxd (ArcGIS 10.3+) you can open the possiblity to fix the IDs on the data frame:
After that you can fix the ID on each layer:
The wish is to set this layer ID's ... but with a python script and not manually.
You see the IDs in a published MapService - the numbers in brackets:
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.
But it isn't on the list of properties you can set in the link I sent you
I haven't found a function nor a method: To set the Table ID.
Tell me the name of the function or method you mean.
I look for the same as is described upper for the Layer ... in the example the Table ID is 200 - i want set it for example to 400. How can i do it programmatically?