Hello! I have Fire Alarm system with several elements and panel. The circuit path is formed automatically.Can I change it programmatically?
First, find out whether you can control it manually through the end user interface.
If not, then there is little chance that it can be controlled programmatically either.
If it can be controlled manually, please use RevitLookup and other tools to explore for yourself how the modifications are represented and stored in the Revit database:
The set of points you provided isn't valid. Take a look at the documentation to see what conditions it requires of the points.
From the documentation:
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 in 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.
To find examples look at the layout of existing circuits in Revit (using GetCircuitLayout()), I recommend doing so in Revit Lookup.
Can't find what you're looking for? Ask the community or share your knowledge.