Change the trajectory FireAlarm circuit

Change the trajectory FireAlarm circuit

DERU2143
Explorer Explorer
584 Views
6 Replies
Message 1 of 7

Change the trajectory FireAlarm circuit

DERU2143
Explorer
Explorer

Hello! I have Fire Alarm system with several elements and panel. The circuit path is formed automatically.Can I change it programmatically?

0 Likes
585 Views
6 Replies
Replies (6)
Message 2 of 7

jeremytammik
Autodesk
Autodesk

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:

 

https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-onto...

  



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 7

mhannonQ65N2
Collaborator
Collaborator
0 Likes
Message 4 of 7

DERU2143
Explorer
Explorer

I get an error when using SetCircuitPath

0 Likes
Message 5 of 7

mhannonQ65N2
Collaborator
Collaborator

The set of points you provided isn't valid. Take a look at the documentation to see what conditions it requires of the points.

0 Likes
Message 6 of 7

DERU2143
Explorer
Explorer

Where is the description of valid points. Preferably with examples

0 Likes
Message 7 of 7

mhannonQ65N2
Collaborator
Collaborator

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.

0 Likes