Menu

Making DWSIM visible when using Automation interface from python

2021-02-25
2021-02-25
  • Jose Macias

    Jose Macias - 2021-02-25

    I am opening and running a DWSIM simulation from Pythonnet with the example code

    https://gist.github.com/DanWBR/c355fd5420d20d960f5d084a7142cde8

    do you know a way to make DWSIM visible while running?. Is there any interface atribute to make visible / unvisible

    Thanks,

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-25

    Automation2() doesn't support it, perhaps switching to Automation() could do it by setting Visible = True.

     
  • Jose Macias

    Jose Macias - 2021-02-25

    I just tried that in Automation() but doesn't show anything. If I retrieve the property mainteins False. Maybe I am not setting it rigth

    sim.Visible = True

    I should find a way to show DWSIM while running controlled by outside. Any other idea?

    Thanks Daniel

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-25

    The current version is not ready for this. You'll have to wait for an update.

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-25

    Please create a feature request here just for the record: https://github.com/DanWBR/dwsim6/issues/new/choose

     
  • Jose Macias

    Jose Macias - 2021-02-25

    Done, Thanks

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.