I'm trying to automate with Arcpy enabling time for the layers in my Drawing order but can't figure it out. From digging I've found that the only way to do it is through CIM but there's limited resources detaling how to use CIM.
# Reference a project, map, and layer using arcpy.mp
p = arcpy.mp.ArcGISProject('current')
m = p.listMaps('Map')[0]
l = m.listLayers('GreatLakes')[0]
# Return the layer's CIM definition
l_cim = l.getDefinition('V2')
I can't find any examples to work off of except for this but don't understand the CIMFeatureTable.