Wire creataion for multiple detectors

Hi everyone,
I am trying to create wire for multiple elements. I have vertex points, start and end connectors as separate lists. I have used the zip function and used the Wire.create method. Unfortunately i am getting empty list in output. Any feed back is highly appreciated.

Thank you


some remarks:

  • Can you show the structure of the entry lists?

  • Autodesk.Revit.DB.Electrical.Wire.Create() need a list of points (need minimum 2 vertices points)

  • you certainly have an error in your code, delete the last line to assign the
    traceback to the OUT variable

1 Like