Draw cables in cable tray

hi guys,
hope youre doing fine.
I have written a script to model cables along a cable tray, but it refuses to model the cables at the joints like you see in attached file (discontinuity). Could you help me please?

Can you provide a stripped down version of you Revit model with just the elements that you have shown?

Yes sir, sure ! here it is

You can use OpenMEP and read document at here : Class CableTray | Open MEP

1 Like

Hello @El_padrino and welcome here ;)…probably something could help…think you just need play around with your margin…i guess :wink:

2 Likes

@sovitek thank you so much ! yeah the problem was with margin :sweat_smile: you maked my day :heart_eyes:

1 Like

Hi again @sovitek ,
I have a problem when i draw cable on a long cable tray, it can’t draw i don’t understand really where is the problem, but i guess it’s always about margins if you cloud help me ? thank you so much in advance.


Hi @El_padrino …yes it think so…but keep in mind it isnt super stable…probably you should test with OpenMep as well…good luck.

3 Likes