I have list of layers from mxd save in a variable lyrs. I want to copy every layer to file gdb so I use for loop. I need to preserve original OBJECTID in the new layers so I add a new field originOBJID into new layers. Is there any option/expression how to calculate field in new layer based on attribute OBJECTID from original layer (lyr in the for loop)??
for lyr in lyrs:
Thanks a lot for help!