Author Topic: How can I disable "Output(s) computation" programmatically?  (Read 2146 times)

Hi there :)

I would like to turn off "Output(s) computation" option of a graph, but having a hard time figuring out how.
Could someone share me some insights?

Hi ryod,

Not very user friendly indeed, the Output(s) computation option corresponds to the "disabled" tag present in the "root" tag of a "graph" in the .sbs file:
    <disabled v="1"/>

In Pysbs, once you have created a SBSDocument on the concerned .sbs, parsed it, and get the SBSGraph you want to edit, you can do:
my_graph.mRoot.mDisabled = '1'