Welcome to the RAS Solution Forums HECRAS Controller Ras Controller Name in v6.1

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15128
    WAAWAA
    Participant

    Hello everyone,

    What controller do you call for HEC-RAS 6.1?

    For 6.0 betas, I was able to use python API and call the controller using, “RAS5X.HECRASController”

    import win32com.client
    hec= win32com.client.Dispatch(“RAS5X.HECRASController”)
    hec.Project_Open(RASproject)

    #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…

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