Some fx:parameters not updating after parameter change

Some fx:parameters not updating after parameter change

MTheDesigner
Advocate Advocate
429 Views
1 Reply
Message 1 of 2

Some fx:parameters not updating after parameter change

MTheDesigner
Advocate
Advocate

I have a stair generator that is driven off of a few parameters and some math.

mursuliak_0-1643135370378.png

The fx parameter that is giving me trouble is the calculation for the number and the spacing of the steps.

If I change the height of the walkway it updates everything in the sketch correctly.

mursuliak_1-1643135678620.png

However if I change the angle of the steps it fails to update the number of steps required.

mursuliak_2-1643135796081.png

But if I change the angle again to exactly the same value it updates correctly.

mursuliak_3-1643135878127.png

It seems to me like it is requiring 2 updates in order to calculate correctly, I have checked the equations and nothing seems to have a circular dependency, Does anyone know why this might be happening?

 

0 Likes
Accepted solutions (1)
430 Views
1 Reply
Reply (1)
Message 2 of 2

MTheDesigner
Advocate
Advocate
Accepted solution

From doing some experimenting it seems like the problem might have been that I was using a driven dimension in my calculation. Once I replaced the driven dimension with a formula that takes only user inputs as data it worked and updated correctly. However this isn't great, it takes a while to come up with the equation it would be far faster if I could just use a reference dimension. Also it seems to be a kind of inconsistent problem, sometimes driven dimensions seem to work fine when it comes to updating but sometimes they don't. I am going to leave the question open for the rest of the day just to see if anyone can explain why this is.