Dear All.
Below is the code for con opertor in arcmap.
When i execute it gives me the error.Pls suggest and show to me where is something wrong.
rasModel = New RasterModelClass
rasModel.BindRaster(slopeRDN, "slope")
strExpression = "Con" + "(" + """" + "[slope]" + """" + ">" + "0" + "," + """" + "[slope]" + """" + "," + "0.000001" + ")"
rasModel.Script = strExpression---error throw on this line
Error:010084 invalid command or expression.
thanks in advance