Closed tiagogrossi closed 3 years ago
@michaelhoehn @kayleighhoude keen to hear your thoughts on this please :)
I currently have a working example with the exemplified in the description above, which bypasses the fittings. Perhaps we put this on pause and tackle fittings first?
Description:
Following the obj definition of
CableTray
inMEP_oM
andMEP_Engine
it is now necessary to create the convertsFromRevit
. In Revit fittings are not represented as linear objects, only as points for their location, meaning that a pure extraction of geometry from the Revit API will cause gaps in a network of cable trays, like this example: One possible attempt to go around this as exemplified in red in the picture, is to bypass the fitting by querying to what it is connected to, and sort of "snap" cable trays together.An awkward scenario is also found where cable trays are connected to each other WITHOUT fittings, by mistake possibly or by design. In that scenario exemplified in the following picture the original 1 Cable Tray must be split into many, effectively increasing the number of items: