Hello,

i have a part with some equations on it to drive a pattern(number of instances and spacing) , and to control a couple of measures, vales for equations come from a "master sketch", problem is that i must always click multiple times on rebuild to get all parameters calculated, can someone give a help please?

try to play with measures in "Master" sketch and rebuild.

Hi Bruno,

I would expect 2 rebuilds for this to properly rebuild and here is why: equations are always solved first in the part rebuild process. This is important because you want any parameters that are changed in the equations to be reflected in the solving of your part features.

So, when I initially open your part, the reference dimension RD1@Annotations is equal to 4609.77 so your StepDiagSpace equation solves to 288.11. Now, if I change the height in your master sketch (D3@Master) to 3500 and hit rebuild, it solves the equations first, then solves the features in the part. When it does this solve, the rest of the geometry has not yet updated (since it solves the equations first) so the RD1 measurement is still the same (4609.77) and therefore, the StepDiagSpace is also still the same (288.11). Once the features are rebuilt, the RD1@Annotations dimension changes its value to 4949.75.

Now if you do a second rebuild, your StepDiagSpace equation will use the new 4949.75 value for RD1@Annotations and will result in a value of 309.36 and that new value will be used when solving the features/model geometry.

If you use reference dimensions in your equations, depending on what the reference dimension refers to, you may need 2 rebuilds or even more to get the geometry to fully update. There are cases where you only need 1 rebuild (if the geometry that the reference dimension refers to does not change based on the first rebuild) but you can also imagine cases where you have multiple reference dimensions in your equations and these reference dimension dependencies can "stack up" requiring multiple rebuilds until you get a static shape.

I hope this helps,

Jim