Welcome to the RAS Solution Forums HEC-RAS Help Change WS Boundary using VBA function

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7510
    Anonymous
    Guest

    Hi guys, I was trying to change the water surface elevation with function SteadyFlow_FixedWSBoundary.
    However, the function always returns False and the water elevation wouldn’t change in the input flow file.
    My code is written like this:
    blnDidItCompute = RC.SteadyFlow_FixedWSBoundary(strRivern, strReachn, True, sngWSElev())
    RC.Project_Save

    If I pause after the function executed and open Hec-ras, the new ws number is there in the Hec-ras software, but the WS value would not change in the input file. The code “RC.Project_Save” seems not working on that. Who can tell me why this happens??

    Thanks a lot!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.