hi Guys ive created a pipe placement script that automatically places my pipes in a multiple layered building. right now im at my last obstacle before my script is finished. ive placed vertical headers down my building in so i get split off lines in all apartments. now i need to place on those vertical lines / pipes valves on top and compensators a little more down (see picture) but for some reason i cant place them and if i place them with a weird python node they place vertically. (see picture)
could you show that one ?
would u like me to send my full script? then u can see with what it interacts
yes thats best if the community should try help…so share so much data you can dyn,rvt,image etc…it will help
you can try play around with something here

pipes test.dyn (22.4 KB)
okay so ill put a few pictures in here to show u what im working with
Valve+comp_placement_Python.txt (6.1 KB)
right now this is how its getting placed. the pipes are cut on the points where the valve and compensator need to go (as i wanted) but they keep getting placed wrong. under here is the picture like how i want it to be (drawn by hand)
At first glance, this looks more like a family settings issue than a dynamo one
If you place the family manually, they get placed vertically right away?
Are they hosted by the Pipe perhaps?
could you show what you select and what point at parameter give you ? if only a single pipe and point then i dont think you need crossproduct but a list create before feed in…but just a guess
if you share a small rvt sample i can take a look
i can also send u my whole code + a test file for u to see what happens?
great, just here to the forum should be fine .. and only these 2 vertical pipes as rvt as in your image where it fails
Test.2.dyn (132.7 KB) this is my dynamo script my revit file is to big to send
ill add a dropbox link down here: Dropbox
dont think these 2 pipes is hard in size…just send them here, with all purged,and we can try give you an advice in princip..i dont wanna test in a project you do..![]()
allright i tried your file,after some clean up, purge and set the unit to millimeter i get it to work…your file have really bad performance, guess its all these custom fittings from websides you use…











