Welcome to the RAS Solution Forums HECRAS Controller HECRASController in HEC-RAS 6.0 Beta

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8254
    Rodrigo Perdigão
    Participant

    Hi,

    Is anyone here using HECRASController with HEC-RAS 6.0 Beta?

    Now, I’m using HECRASController with python and HEC-RAS 5.07, but I can’t do the same with HEC-RAS 6.0.

    #13623
    WAAWAA
    Participant

    I’ve had some success running with python and 6.0 Beta. I use the following commands to get started:
    import win32com.client
    hec= win32com.client.Dispatch(“RAS5X.HECRASController”)
    hec.Project_Open(RASproject)

    Good luck!

    #13624
    Rodrigo Perdigão
    Participant

    Hi, Waawaa!

    That’s really nice! I was trying something like “hec= win32com.client.Dispatch(“RAS6.HECRASController”)” but now I’m using your suggestion and it’s working.

    Thanks a lot!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.