Create pipe from 2 connectors

Hello,
May be anybody can help me,
I want to create pipe between 2 connectors of pipes
this method from revitapi: http://www.revitapidocs.com/2017/705a520c-2546-322a-1b35-b3df66960674.htm

and all trouble you can see in similar Russian forum: http://dynamobim.ru/forums/topic/соединить-трубы/

pipe.ConnectorManager.Connectors - we get the ConnectorSet

how Get Connector?

Hi @til.shviger

1 Like

Thank you kulkul ,
Im now about it and want to see what inside this node (python code) because im want to create the new pipe between 2 connectors in one python code

You need to iterate over the connectorset to get access to the connectors. You could check out the custom nodes in the MEPover package, there’s a bunch of them that work with connectors.

1 Like

thanks,
im iterate in cycle
cons=[]
for x in connectorset:
cons.append(x)

and get cons[0] , cons[1]

how i may identify gived connectors?
for examole im want to get dimension between certain 2 connecors , but i dont now id of this connectors …e.t.c

You can get the Id of the connector with the Id property. Check out the Connectors properties to see all the properties you can access, including Id:
http://www.revitapidocs.com/2017.1/46c26e09-25fe-03b8-7737-fecf25d02791.htm

1 Like

thank you!
I’ll see …

1 Like

T_Pover ,
Thank you very much !
Its worked !

1 Like