Hi Chris Thanks again, I checked the geo file and the pump info its almost at the end but I dont see and Node ID.
Just to test the Output_NodeOutput I create a dummt projecto with one pump station ( I attached it) and then a I wrote the following program to test it using the var code 247 for pumping head. Im getting in return 3.402823E+38, I try changing the Node ID, the Profile ID but I keeep getting the same number, I should be getting 2 m.
If you know what can i do o what Im doing wrong Ill appreciate it Chris.
Sub RunRAS()
‘Instantiate a new HECRASController Class
Dim HRC As New HECRASController
‘Open a new project.
Dim strRASProject As String
strRASProject = “C:\Users\CARLOS\Documents\HEC Data\RC_Pumps\RCpumps.prj”
HRC.Project_Open strRASProject
‘Run the HEC-RAS Project
Dim lngMessages As Long
Dim strMessages() As String
HRC.Compute_CurrentPlan lngMessages, strMessages()
Dim PH As Single
PH = HRC.Output_NodeOutput(1, 1, 1, 0, 1, 247)
MsgBox PH
HRC.QuitRas
End Sub
Carlos M
RCpumps.zip