How to input equation in workbench

  • 66 Views
  • Last Post 14 November 2017
  • Topic Is Solved
Jimmyhan posted this 13 November 2017

I can use DM draw my model, and define the dimension what I want. Besides giving a value I can set the dimension to the parameter and give a name to this parameter. After this step, I can change its value in the workbench.   My question is how to use an equation in the workbench for change the parameters? For example, I want to make the ratio between total value and wet area equal to a constant. when I change height all dimensions will change and the result can be calculated by workbench itself and use in DM.

Order By: Standard | Newest | Votes
peteroznewman posted this 13 November 2017

Here is a DM model with a sketch and two dimensions, L1 and L2.

I clicked the box next to their names that adds a D and puts them in the Parameter Editor.

Then, in the Parameter Editor, I gave L1 the name height, while I typed an expression for L2 that was 3*@height.

I think that is similar to what you are trying to accomplish.

  • Liked by
  • Jimmyhan
Jimmyhan posted this 14 November 2017

Thank you so much for your kindness´╝î It really helps. By the way in this expression editing can I use all Excel formula?

peteroznewman posted this 14 November 2017

The expressions in DM are limited to this short list, which you can find in the Online Help.

  • Liked by
  • Jimmyhan
Jimmyhan posted this 14 November 2017

Yes, you are right, I think I should check the manual before asking others. Thanks!

Close