Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Ras Controller Name in v6.1 #15129
    WAAWAA
    Participant

    UPDATE!!!!
    It appears version 6.1 now references “RAS610” rather than “RAS5X”.

    So, in python you would call:
    import win32com.client
    hec= win32com.client.Dispatch(“RAS610.HECRASController”)
    hec.Project_Open(RASproject)

    I have yet to test…

    in reply to: HECRASController in HEC-RAS 6.0 Beta #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!

Viewing 2 posts - 1 through 2 (of 2 total)