Calculated Dimensions

Anonymous

Calculated Dimensions

Anonymous
Not applicable

Is it possible to put a formula into a block definition so that a length dimension is set by a formula?  I want to have 3 user parameters, and change a length parameter based on a formula using those 3 parameters.  For example, Distance1 = A*B/C

0 Likes
Reply
Accepted solutions (1)
613 Views
5 Replies
Replies (5)

Libbya
Mentor
Mentor

Yes, parametric constraints can be defined by formulae.  What you desire is easily accomplished using Parameters Manager.

0 Likes

Anonymous
Not applicable

I tried but I get an invalid syntax error.  Can action parameters accept formulas?

0 Likes

Libbya
Mentor
Mentor
Accepted solution

Dynamic parameters cannot accept a formula.  As I said before, though, parametric constraints can.  Here's a screencast example.  I didn't use Parameters Manager, but rather just altered the definitions directly.  Either way works.

 

 

0 Likes

Anonymous
Not applicable

So, the action parameters can't be set by formula, but I can set lengths and angles by formula using constraints.  I have to decide to either set the values by constraints or by actions, not both.

0 Likes

Libbya
Mentor
Mentor

Yup.  I wish the two played together better or rather I wish dynamic parameters accepted formulae.  If they did, I would have absolutely no use for constraints at all.  There isn't a single task that would not be done more easily using the dynamic parameters/actions.  That's not the case, though, and you've hit on one of the three uses I've found for constraints.  

0 Likes