I’ve run into an issue where I get different results when modifying the rebar parameters. I will show with examples. (please view pictures in pdf, as a new user can only embed one file)
First approach: Put rebar and the modify parameters in revit.
Using the dynamo routine: (Figure 1).
The result is (Figure 2)
Then, modifying the
BASE parameter to 10 cm, I get the desired result. (Figure 3)
Second approach: Doing everything in dynamo.
The dynamo routine puts the rebar, set the spacing and modifies the
BASE parameter. (Figure 4)
The result, in Figure 5, shows the rebar completely outside of the host elements.
The first approach works as expected. The parameters are modified and the rebar stay in its place.
The first approach correctly modifies the parameters, but the rebar is moved outside de host.
It seems like the first approach modifies
BASE from the “left” part of the rebar, and the second doest the same but from “right” side.
How can I get the first result using the second approach?