connect_shapes_via_connector_index method

connect_shapes_via_connector_index(shape_from_id, from_index, shape_to_id, to_index, connector_id)

Connect shapes via connector index.

def connect_shapes_via_connector_index(self, shape_from_id, from_index, shape_to_id, to_index, connector_id):
    ...
ParameterTypeDescription
shape_from_idintThe ID of shape where the connector begins Shape.
from_indexintThe index of the connection on the first shape
shape_to_idintThe ID of shape where the connector ends Shape.
to_indexinthe index of the connection on the second shape
connector_idintThe ID of shape with type Dynamic connector Shape.

connect_shapes_via_connector_index(shape_from, from_index, shape_to, to_index, connector)

Connect shapes via connector index.

def connect_shapes_via_connector_index(self, shape_from, from_index, shape_to, to_index, connector):
    ...
ParameterTypeDescription
shape_fromShapeThe shape where the connector begins Shape.
from_indexintThe index of the connection on the first shape
shape_toShapeThe shape where the connector ends Shape.
to_indexinthe index of the connection on the second shape
connectorShapeThe shape with type Dynamic connector Shape.

See Also