//connecting two 3d functions using connection points
Connection3D oConnection3D = new Connection3D();
oConnection3D.Create(oFunction3D1, oFunction3D1.ConnectionPointPositions[0].Index, oFunction3D2, oFunction3D2.ConnectionPointPositions[2].Index);
//creating connection between two 3d function and only for one of them a connection point is specified
Connection3D oConnection3DOneConnectionPoint = new Connection3D();
oConnection3D.Create(oFunction3D1, oFunction3D1.ConnectionPointPositions[0].Index, oFunction3D2, -1);