How to connect a horizontal cable tray with a vertical cable tray by Revit API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In following picture, there is a horizontal cable tray, and I want to draw a vertical cable tray starting from the middle point of the horizontal cable tray. when I use Revit ribbon drawing function, the horizontal cable tray and the vertical cable connect very well. But I am sure the horizontal cable tray is not split by the vertical cable tray, and an extra connector is added to the horizontal cable tray on the middle point, and a connection is made between this added connector from the horizontal cable tray and one end connector from the vertical cable tray. And no tee fitting is added.
Revit didn't create a tee fitting, but the horizontal cable tray and the vertical cable tray do connect well even there is no tee fitting. I don't know why.
When I use NewTeeFitting method to do it, it return null directly. I have also tried NewTakeoffFitting API, but it gave an exception and said: you can't use NewTakeoffFitting API for cable tray connection.
See issue in Revit API forum:
How can I do that by Revit API?
Best Regards,
Zhangzg