LngRiverID = 1 'Hard-coded River ID since there is only one RC.Compute_CurrentPlan lngMessages, strMessages()ĭim lngRiverID As Long, lngReachID As Long 'River ID and Reach ID Sub HECRASController1()ĭim lngMessages As Long 'Number of messages returnedĭim strMessages() As String 'String of messages returned Secondly, we will use the Geometry_GetNodes subroutine to obtain the geometry information before retrieving output data. StrRASProject = "C:\filepath\RAS Model\Baxter.prj" This will literally show HEC-RAS while the program is running. To open HEC-RAS, use the ShowRas subroutine. The Project_Open subroutine starts the HEC-RAS software in the background. Next, open the HEC-RAS project in the background using the Project_Open subroutine. This is a fancy way of saying creating an occurrence of the HEC-RAS Controller class. Then instantiate a new HECRASController class. First pull up Excel VBA by clickicking Alt+F11. Now it is time to start writing our program. RAS Model Download Open the Model in HEC-RAS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |