Menu

Deactivate an object in the Flowsheet

Samya
2019-12-06
2019-12-18
  • Samya

    Samya - 2019-12-06

    Hello Daniel,

    I am writing a script that help me to control the Flowsheet and to run repetitive simulations, I would like to know if there is a way to deactivate an object in the Flowsheet through Python / IronPython scripting.
    Thank you for yout time and consideration. Looking forward to hearing from you.

    Best regards,

     

    Last edit: Samya 2019-12-06
  • Daniel Medeiros

    Daniel Medeiros - 2019-12-18

    The Flowsheet Solver checks if the object is active in the flowsheet by inspecting

    obj.GraphicObject.Active = False / True
    
     
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.