Parenting w/ Python

I have experience with connection of input and output of ops through the Connector class: derivative.ca/wiki088/index … ctor_Class

But does anyone know how to programmatically connect 3D Connections, aka the parent and child ports at the top and bottom of containers?

Edit: my answer was wrong. Matthews is correct.

In the COMP class you can find the comp connectors with:

inputCOMPs (Read Only) List of input components to this component. outputCOMPs (Read Only) List of output components from this component. inputCOMPConnectors (Read Only) List of input connectors asssociated with this component. outputCOMPConnectors (Read Only) List of output connectors associated with this component
derivative.ca/wiki088/index … nnection_2

These work with the connector class:

#connect geo1 to geo2, two equivalent methods: op('geo1').outputCOMPConnectors[0].connect(op('geo2')) op('geo2').inputCOMPConnectors[0].connect(op('geo1'))
derivative.ca/wiki088/index … ctor_Class

Hmm… well it didn’t seem to work for me before. Works now. Thanks Matthew. Love the tutorials btw. I think the issue was I was specifying the port on both sides (including .outputConnector[0]) on the parent side.