Connect

<< Click to Display Table of Contents >>

 

Connect

Connect(Id1, Id2, [Side1], [Side2], [Type])

Creates and returns a connection with the type indicated by the Type parameter between the elements indicated by the Id1 and Id2 parameters, using the Terminals specified by the Side1 and Side2 parameters, if applicable. For devices with terminals, the value of the Side1 and Side2 parameters must be the number of the terminal (1, 2, or 3). For devices without terminals, the Side1 and Side2 parameters are ignored. The Type parameter is optional and, if omitted, assumes the String "WaterPipe".

 

NOTE

For more information about the format of the Id1 and Id2 parameters, please check the ID property, common to all devices.

Was this page useful?