setOutputEnabled(_:enabled:)
Enables or disables execution of the provided output stage, without disabling the system it represents.
Declaration
final func setOutputEnabled(_ outputID: Int, enabled: Bool)Parameters
- outputID:
The node identifier of the output to enable or disable.
- enabled:
trueto simulate the output;falseto omit it.
Discussion
Disabling an output is useful when you want to switch between multiple outputs for the simulation, for example two outputs with different topologies for the same elements.