Hi,
I'm fairly new to booth Revit and it's API.
I wonder if it would be possible to convert a pipe, with it's fittings, back to a pipe placeholder.
Thankful for any help and suggestions.
Regards
Mikael
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Dear Mikael,
Creating a pipe placeholder is very simple.
All you need, basically, is the start and end point.
Here is some sample code:
http://thebuildingcoder.typepad.com/blog/2011/07/mep-placeholders.html
Since the start and end points are immediately provided by the pipe start and end point, handling the pipes is pretty trivial.
You might loose your fitting information, though.
You might be able to store that somewhere and implement code to recreate them again when desired.
Cheers,
Jeremy