I would sincerely appreciate some assistance. I have been given the task to design some conduits layout and given the repetitive task, I have decided to do it in Dynamo. I have created points(based on vector displacement and directions) from which I created a poly curve. I have then fed the given curves as input “lines” to conduits.bylines.
Unfortunately, it only considered the first and last point of the polycurve, ignoring the mid points in between.
Please feel free to comment and correct as needed.
The node Conduit.ByLines will only take lines, no polycurves! So it looks like it will try to connect the startpoint-endpoint of the polycurves. Did you try splitting them?
You were right! The moment I split them it draws the conduits in Revit, but it does not connect the joints/connection, do you know how to overcome this?
I initially tried what suggested but it didn’t work, so I split the poly curves as suggested above. Followed by a simple list manipulation, where I subdivided the lines into lists of two, being able to place fittings with elbow.bymepcurves.
Hi Horacio, i don’t have time today to look into your graph, but tomorrow i have some spare time.
If you can explain to me what Package you are using and what you are trying to achieve exactly, maybe with a small sketch i think i might be able to help! (And your dyn file )
I basically created translated points, creating a line of points and then I joined them using polycurves. The function conduits.bylines did not considered my poly curves so I split them into lines rather than polycurves. After this, conduit.bylines worked. However the elbow.bymepcurves did not. So I had to divide the line data set into pairs to be able to create fittings between the conduits.
Sorry for the late reply. I want to basically create a route for the conduits by placing coordinated points, later converting it to lines and then conduits. However the struggle has been to convert lines to conduits and placing fittings. Sometime it works, other times it doesn’t.
I have attached the .dyn and image for your clarification.
Okay so you have points in revit, you create lines between them, and then you create conduits the same length as these lines? And what is your first “Element.select” node supposed to select?
I have looked into it but unfortunately i don’t know how to create conduits from your script.
(I also don’t really understand why you have these giant code blocks everywhere.)
I tried it but it does not work.
Good luck with it from here, i am sorry i couldn’t help you.