Execute actions according to number slider

revit
dynamo

#1

Hi everyone !

I have a problem and I think you can help me,
I have a line, and I want to put some elevators on it.
Implanting the elevator is not a problem,
The problem is that the number of elevator is linked to a number slider.
For example, 1 with the number slider means 1 elevator, 2 means 2. The choice can only be 1 or 2.

How can I do that kind of conditions ?

Thanks and sorry for my bad english…

C. Imbert


#2

It depends on how your family and script was built. Likely these are point based, and so using the number slider to get the right number of items (1 or 2) to place the families would work.


#3

In fact I don’t place the elevator, I just build walls around it.


#4

Well however you’re doing it, you can use a method like this to chose to execute both or only one.

Post your dyn for a more detailed explanation.