How to overwrite a raster data?

Discussion created by zuoqi.chen on Aug 27, 2013
Latest reply on Aug 29, 2013 by zuoqi.chen
tempId = Raster(dsm_file)*0
tempId = SRTran.GetId(tempId)

the line 1 means that I create a empty raste, named tempId.
and the line 2 means that i use the 'tempId' to do a Map algebra, and i hope the same raster file (e.g. 'tempId') can be used to store the return value. But actually, the raster can not be overwrited. How can i do?