Driven Dimensions, Formulas, and Parameters

wacarr6GHYL
Participant Participant
578 Views
5 Replies
Message 1 of 6

Driven Dimensions, Formulas, and Parameters

wacarr6GHYL
Participant
Participant

I'm trying to create a parameter with a formula that references a driven dimension. 

 

The math works in the parameters menu. But when used as a dimension, it won't compute the parameter, the distance doesn't reflect the math, and the dimension not fixed. 

 

I've also tried to use the floor function and a driven dimension on the fly and it won't calculate the result and errors out. 

 

And in another model I was able to create the parameter but it won't let me apply it as a dimension. 

 

This feels like a bug, is there a work around? I haven't been able to find anything in the forum on this. 

0 Likes
579 Views
5 Replies
Replies (5)
Message 2 of 6

jhackney1972
Consultant
Consultant

Make both parameters Favorites and assign them as needed.  They will work just fine.  Model is attached.

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

1 Like
Message 3 of 6

jeff_strater
Community Manager
Community Manager

That's a great workaround, @jhackney1972 .  I never would have thought of even trying that.  Nice.

 

However, I think this is still a bug.  I don't think it is the driven dimension, I think it is "floor()".  If I take floor() out, it seems to work OK.  I'll create a bug for this, and in the meantime, you have John's workaround.

 

[edit] I created bug FUS-105666 for this issue.  Thanks for reporting it.


Jeff Strater
Engineering Director
0 Likes
Message 4 of 6

wacarr6GHYL
Participant
Participant

I don't understand @jhackney1972 work around. The file is only different in that the parameters are favorited. The lines that are dimensioned with the equation are still unfixed, and free to move if dragged.

 

I was able to "fix" the line dimensioned with the equation parameter and that seems to sort of solve the problem, in this instance, and is not a very trustworthy solution. 

 

When trying to dimension something a distance from something else, without a line involved, the dimension will show the dimension defined by the parameter, but will not move the objects to whatever the specified distance is. So if I were to "fix" the object, it would "fix" at whatever position it was in.  

0 Likes
Message 5 of 6

jeff_strater
Community Manager
Community Manager

@wacarr6GHYL wrote:

I don't understand @jhackney1972 work around.   


Nor do I...  I agree, it does not make any sense, but it does work.  That's why I created a bug for it.

 


Jeff Strater
Engineering Director
0 Likes
Message 6 of 6

wacarr6GHYL
Participant
Participant

The work around does not work for me. The line dimensioned with the equation/parameter is still unconstrained and free to move, even after making the parameter a favorite. 

0 Likes