I am having an issue with the the beginning of a problem I am trying to solve. I will describe the overall goal of what I am trying to achieve, and then go into explaining the problem illustrated in the screenshot below.
The problem that needs solving is that I am trying to get each conduit run in a project (easy enough), then get the list of every segment of conduit and conduit fitting that make up the conduit run. I am then taking those segments and conduit fittings and filling out a custom “To” and “From” parameter on them. The reason this needs to be done this way is because Revit itself does not propagate custom parameters to conduit fittings (probably because it doesn’t know how many fittings (bends) there are on a run, so it doesn’t want to collect them and give them a “To” and “From” param, even though they are shared params that should be propagated through all parts in a conduit run)
Now onto the problem:
In the screenshot below, I am pulling a list of all conduit runs. what I need this list to do is feed each individual conduit run in the list to the elements in connected network node (ECTN for short). the ECTN node only has one input of a single element, this means I have to feed the elements in one at a time to receive a list of conduit segments and fittings in the network.
What I need to know is:
A. How do I separate each conduit run in the list in order to feed them one at a time to the ECTN node. If I can accomplish this then I can change the “To” and “from” params of each part in the run myself.
B. What format does the ECTN node take as an input so that I know how to shape the data coming to it, because right now a single conduit run reads as NULL.