I was able to capture the path of a circuit in Revit. Now I want to convert this data to line and insert a family of Detail Line. But look what is written in Revit API 2018
"The list of the electrical system circuit path node position is not valid. The length of the list should be more than one, the first node should be the position of the panel where the circuit begins at, the adjacent nodes should not be too close , and should be on the same level or on the same vertical line, to keep each segment of the circuit path always horizontal or vertical Also note that the first node position should be the position of the connector (the one connects to the circuit) of the panel, but not the origin of the panel instance. "
Code - GET CIRCUIT PATH
Now the problem is, I can’t use this data to convert in points and then line.
There is the SetCircuitPath api but I can’t use it either. Does anyone have a tip in this regard?