Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change the trajectory FireAlarm circuit

6 REPLIES 6
Reply
Message 1 of 7
DERU2143
502 Views, 6 Replies

Change the trajectory FireAlarm circuit

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

6 REPLIES 6
Message 2 of 7
jeremytammik
in reply to: DERU2143

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

Message 3 of 7
mhannonQ65N2
in reply to: DERU2143

Message 4 of 7
DERU2143
in reply to: mhannonQ65N2

I get an error when using SetCircuitPath

Message 5 of 7
mhannonQ65N2
in reply to: DERU2143

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

Message 6 of 7
DERU2143
in reply to: mhannonQ65N2

Where is the description of valid points. Preferably with examples

Message 7 of 7
mhannonQ65N2
in reply to: DERU2143

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.

Post to forums  

Autodesk Design & Make Report