DIAdem Help

Method: IsOutputConnected for Input

  • Updated2024-09-12
  • 1 minute(s) read

Method: IsOutputConnected for Input

Specifies whether the input of a calculation is dependent on an output of a different calculation.

bIsOutputConnected = Object.IsOutputConnected
ObjectInput
Object with this method
bIsOutputConnectedBoolean
If the input of an output is dependent on an output, the IsOutputConnected method returns the value TRUE otherwise FALSE.

The following example displays a message if the first input of the third calculation is dependent on an output:

VBScriptPython

 

Dim oMyInput
Set oMyInput = CalculationSet.CalculationGroups(1).Calculations(3).Inputs(1)
If oMyInput.IsOutputConnected Then
  Call MsgBoxDisp("Output connected: " & oMyInput.SourceOutput.Calculation.Name)
End If