Good afternoon, everyone! I’m trying tirelessly to connect the list of pipes through different connections between them so that the network stays connected, but I can’t do it through any of the nodes presented. Can anyone tell me why this is happening?
I saw some solutions here on the Forum, such as leaving them all at the same height and so on, but they already have these characteristics.
Note: when I create the pipes using the pipe.bylines command, they only appear in the model and not in the watch node of the dynamo itself. Maybe this has something to do with it?
First off, I’d make sure you’re providing the correct list structure. I know at least one of those nodes is not expecting a list of 6 elements. You can always pull those custom nodes apart and just run the python in your graph. That will at least return any errors you may be getting and allow you to troubleshoot.
I haven’t used Connect MEPCurves
before but I looked at it and it seems to be looking for existing fittings to connect to. That doesn’t sound like what you want.
If you’re creating those pipes in this same graph then you’ll also probably need a Transaction
node so that the pipes exist when creating the fitting.
EDIT: I also forgot the obligatory “make sure you have the latest version of IronPython2.7 installed”.
1 Like
First of all, thank you for your attention, you gave me a little hope.
I selected only 2 items from the list to try to do the process, but it still shows null return. I used the technique of creating a python node with the custom node script and the error message is as follows: PythonEvaluator. Operation failed
ves
Traceback (most recent call last):
File “”, line 50, in
File “”, line 27, in
closest_connectors
Exception: The referenced object is not
valid, possibly because it has been deleted
from the database, or its creation was
undone.
Evaluate.
I am using ironpython 2.7 in version 3.0
And I’m creating the pipes in this same script. How should the transaction node be used in this case? Maybe that could be the problem.
Hi @cbpires98 dont think any transaction needed, just need pair your pipes up, for insert elbows
1 Like
hi, @sovitek always trying to help me, thank you very much! But when you talk about pairing, is that what you mean?
try something here, here a very fast example…
1 Like
Could you send me the Dyn file of this code?
yeah…i was a millisecond from close it down, but here,play around with it 
Home.dyn (37.5 KB)
1 Like
Thank you very much, I will compare it with mine and look for possible flaws to get the adjustments. But I understood the type of pairing you mentioned, I will try and give you feedback here!
1 Like
Just one question, are the elements selected in select model elements lines? Or pipes already created?
ijust select detail/model curves and create pipes and elbows in one run here
1 Like