Hallo everyone. i have a lot of views with pipes and want to draw detail lines (Line style-center line)on the center of each pipe. Does anyone know which nodes i have to use? i am new to the dynamo. is it possible to do that with dynamo?
I know how to show the centerlines in Revit but it affects other visibility issues. i am working in Arch DISCIPLINE. The only option i have is to draw detail lines on the middle of each pipe.
All elements of category to get the pipes. Best to filter to just the view or level as otherwise you might draw curves from the 79th floor on floor one.
Element.GetLocation to get the location of each pipe.
List.RemoveIfNot to remove any non-linear elements in your collection of geometry (ie if you had a Point based pipe somehow).
Curve.PullIntoPlane to accommodate any slopes or vertical pipes.
List.RemoveIfNot again to remove any projected geometries which made points.
DetailCurve.ByCurve to finish the effort.
Note that you will have to set the style after the fact.
Hello. Thank you to Jacob Small for the great suggestions. I encountered an issue with filtering out the pipes. I get the routes of the pipes for each floor, but I only want to draw a detail line for the pipes in the selected view. I would like to use this also for ducts, where the reference level is not the floor of the given level but rather the ceiling of the given level.
I had the idea to use view.cropbox and boundingbox.contains, but it is not working somehow.