Added retrieval of emitter flow to the API

This commit is contained in:
Lew Rossman
2023-07-06 15:35:30 -04:00
parent 789d42f248
commit 3acfb6dae3
7 changed files with 31 additions and 20 deletions

View File

@@ -2365,6 +2365,10 @@ int DLLEXPORT EN_getnodevalue(EN_Project p, int index, int property, double *val
v = (double)incontrols(p, NODE, index);
break;
case EN_EMITTERFLOW:
v = hyd->EmitterFlow[index] * Ucf[FLOW];
break;
default:
return 251;
}