Discussion Forum

Parameter in Equation

To add questions or replies, please log in.



Filter:

Post author:
Text in post
Post date from: to: (dd.mm.yyyy)
 
Parameter in Equation
I am trying to use a parameter in the definition of another parameter. As an example: parameter L = 2, parameter C = L/2. When I try this I get "Incorrectly used parameter: L".

At the bottom of the parameter window there is the sentence: "The value input can be numerical constant, a single parameter or mathematical expression, optionally containing parameters."

What am I missing?

Thanks,

Carl Helquist
Parameter in Equation
Carl,

Do not type C=L/2 nor l/2 in the Parameters dialog box, which is available after clicking on the Parameters icon. There you can define just the initial parameter L=2.

Use the icon "Edit and Translate Solid Elements" (MTS command). Then when the 3D dimensions appear, you can enter "L=2" (if not already done in the Parameters dialog box) and for another dimension a value "L/2". (Do not type C=L/2, only L/2.)

Once you have done the above, you can see that the L value was automatically added into the Parameters dialog box.
Then, if need be, you can change this value in this Parameters dialog box, and it will automatically modify dimensions of the solid.

Marek
Parameters and Values
I think I understand now. Parameters can only be constants. They can be used in equations for geometric constraints and 3D object values. A much more careful reading of the manual revealed that the answer was there all along.

Thanks for the clarification.

Carl Helquist

1