System name of a cable tray

Hi guys,

I would like to find the system name of cable trays, or if it does not exist, give them one.
I get the list of all the cable trays but i cannot figurate which ones are connected in a “system”.

thank you

Try GetParameterValueByName as a starting point.

Hi @d.cardalda not sure what you mean by system ?, cabletray dont have system as duct and pipes…

GetParameterValueByName doesn´t help because there is no common Parameter.
By System mean all connected cable trays “sections” and their fittings.
If I get a list of all the connected cable trays and their fitting, I could give them with SetParameterByName a common name.
Do you Know a function who tells if a cable tray is connected to a fittig?

There are plenty of nodes that deal with connected elements and connectors. The problem is going to be comparing all of them at once and grouping them by all “common” elements.

I’d start with some of the MEP packages, like MEPover and OpenMEP, for any existing nodes that return connected elements. Then you’ll have to compare those branches to either simplify or combine groups.

2 Likes

Ok, I get it. thanks.