[Maya/Python]Connect a node to another node

Hello everyone. Here is my problem (this is a simpler case):
[ol]
[li]I project a curve on a mesh using polyProjectCurve which creates and attaches a polyProjectCurve node to the mesh node;
[/li][li]I apply a boolean operation to the mesh with creates a new polySurface node;
[/li][li]Now I’d like to apply splitMeshWithProjectedCurve between the new polygon returned by the boolean operation and the projected curve create at the step 1;
[/li][/ol]

In order to do that I need to connect the polyProjectCurve node from step 1 to the polySurfaced created in step 2. Is it at least possible? Does anyone know how? (I am using maya.cmds and maya.OpenMaya)