how to enable time aware on a layer

473
1
04-04-2012 08:14 AM
LeilaHashemi
New Contributor
Hello

Is it possible to enable time aware on a layer by python (programmatically)? I know that it is possible to add a time-enabled layer to a non-time aware dataframe as explained in ArcGIS examples. I need to enable time on a layer that did not have temporal information configured in the UI. can anyone help me with this issue?

Thank you
Tags (2)
0 Kudos
1 Reply
BarbaraSieg
Esri Contributor
The capability to do this in Python does not exist in 10.0. However, in 10.1, there is a Python function UpdateLayertime:
  http://resourcesbeta.arcgis.com/en/help/main/10.1/index.html#/UpdateLayerTime/00s300000064000000/
that allows you to replace the time properties of a layer with the time properties of a different layer or layer file. This can be done whether or not the target layer is time-enabled.
0 Kudos