Could you maybe share your revit file or a test file with the same setup and families? I never really create or assign electrical circuits for work so I have no reference of something similar myself.
It’s hard to tell why the fixtures are assigned to the LCM the way they are. I think this has more to do with how the LCM family is set up (there are connectors on it for creating circuits, but it is also connected to the DB), which is not really my field of expertise.
For the mechanical systems I actually already have a few nodes created for creating and adding to systems:
Unlike electrical systems, you do not need any elements to create a mechanical system. You can actually have empty systems and then add elements to those.
@andre.abotnes is it possible to access individual connectors in the electrical fixture families to power up individually. i am trying to connect fixtures to different panels ( emergency, regular ) through different connectors.
As a starting point you could use the ‘Element.Connectors’ node to get the individual connectors. After that try filtering by the desired criteria to find the correct connectors.
for the same script, can we add control like every 10 fixtures connected to 1 circuit by chopping selected elements. if it is possible can you share the script.
We need something similar but for Data Devices.
Can the Python be edited in such way it works for Data Devices (Like PowerCircuit to Data?).
EDIT
Can the Python be edited in such way it works for Data Devices (Like PowerCircuit to Data?).
The answer to this is yes.
Problem now is that every Family got multiple Connectors and each Connector needs a different
Circuit Number.
Only i need to figure out the order.
This one should get 1 to 4 and the next one 5 to 8 and so on.
Maybe someone (@T_Pover, @Cosgrovedt , @andre.abotnes ?)
can point me in the right direction to achieve this?
I’ll keep trying stuff myself in the meanwhile though.
EDIT
I have a different approach for this problem. I move the Circuit to the correct row (==number) in a second step (with another Graph).