Hello! I have a network dataset and I want to create a evaluator expression in "Costs" referencing a field of the feature class. Can somebody help me, please?
These are my current costs of the ND.

For the edges feature class "PNL2017_Rodovias_Completo", I would like to create a expression like this:
if(TYPENO=="7001"):
return 0.069001*[Shape]
else:
return 0.039429*[Shape]
And for the junctions feature class "PNL2017_Suporte_Pontos_Rodo", I would like something like this:
if(TYPENO=="7001"):
return 17.1361
else:
return 35.18
Could you please help me?
Thanks and regards!